diff options
author | Eric Anholt <[email protected]> | 2011-10-22 11:14:02 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-10-29 12:16:45 -0700 |
commit | 395a8605fa80aeef48f6d9e90d9a7c38c259120d (patch) | |
tree | b23c23a234847ac3519312cd3c06741567161ea4 /src/mesa/drivers/dri/i965 | |
parent | c933b33dc8e45c0ae01e901930842e615960677e (diff) |
i965: Move VS pull constant upload to emit() time.
Only needed by the emit() for VS surfaces.
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c index 0237b585b64..f838daa2b07 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c @@ -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, }; /** |