mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965: Move VS pull constant upload to emit() time.
Only needed by the emit() for VS surfaces. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
c933b33dc8
commit
395a8605fa
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@
|
|||
* state atom.
|
||||
*/
|
||||
static void
|
||||
prepare_vs_constants(struct brw_context *brw)
|
||||
brw_upload_vs_pull_constants(struct brw_context *brw)
|
||||
{
|
||||
struct gl_context *ctx = &brw->intel.ctx;
|
||||
struct intel_context *intel = &brw->intel;
|
||||
|
|
@ -101,7 +101,7 @@ const struct brw_tracked_state brw_vs_constants = {
|
|||
.brw = (BRW_NEW_VERTEX_PROGRAM),
|
||||
.cache = CACHE_NEW_VS_PROG,
|
||||
},
|
||||
.prepare = prepare_vs_constants,
|
||||
.emit = brw_upload_vs_pull_constants,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue