aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_gs_state.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-22 10:51:34 -0700
committerEric Anholt <[email protected]>2011-10-29 12:16:27 -0700
commitc4aaf85285fc9484e95e9cda89db9cc6923259f4 (patch)
tree77da72b5cf01df2dbee5b1b9c0f0436ed6ea32b6 /src/mesa/drivers/dri/i965/brw_gs_state.c
parentc0574d5a903df450b694c13018149cb2d9978ba5 (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_gs_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_gs_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs_state.c b/src/mesa/drivers/dri/i965/brw_gs_state.c
index e0309e71fc3..b2845962175 100644
--- a/src/mesa/drivers/dri/i965/brw_gs_state.c
+++ b/src/mesa/drivers/dri/i965/brw_gs_state.c
@@ -36,7 +36,7 @@
#include "brw_defines.h"
static void
-brw_prepare_gs_unit(struct brw_context *brw)
+brw_upload_gs_unit(struct brw_context *brw)
{
struct intel_context *intel = &brw->intel;
struct brw_gs_unit_state *gs;
@@ -95,5 +95,5 @@ const struct brw_tracked_state brw_gs_unit = {
BRW_NEW_URB_FENCE),
.cache = CACHE_NEW_GS_PROG
},
- .prepare = brw_prepare_gs_unit,
+ .emit = brw_upload_gs_unit,
};