diff options
author | Eric Anholt <[email protected]> | 2011-10-22 10:51:34 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-10-29 12:16:27 -0700 |
commit | c4aaf85285fc9484e95e9cda89db9cc6923259f4 (patch) | |
tree | 77da72b5cf01df2dbee5b1b9c0f0436ed6ea32b6 /src/mesa/drivers/dri/i965/brw_vs_state.c | |
parent | c0574d5a903df450b694c13018149cb2d9978ba5 (diff) |
i965/gen4: Move unit state setup to emit() time.
It is only needed in time for brw_psp_urb_cbs(), which is also an emit().
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_state.c b/src/mesa/drivers/dri/i965/brw_vs_state.c index f018fc6691d..5a9032caf4e 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_state.c +++ b/src/mesa/drivers/dri/i965/brw_vs_state.c @@ -37,7 +37,7 @@ #include "main/macros.h" static void -brw_prepare_vs_unit(struct brw_context *brw) +brw_upload_vs_unit(struct brw_context *brw) { struct intel_context *intel = &brw->intel; struct gl_context *ctx = &intel->ctx; @@ -181,5 +181,5 @@ const struct brw_tracked_state brw_vs_unit = { BRW_NEW_VERTEX_PROGRAM), .cache = CACHE_NEW_VS_PROG }, - .prepare = brw_prepare_vs_unit, + .emit = brw_upload_vs_unit, }; |