diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2016-04-27 09:30:34 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2016-05-16 00:11:50 -0700 |
commit | 97179c606c998b4f6810b4dc1c5007c848cda4ee (patch) | |
tree | da7ea9e37a2b3b5824273307c9385f73893c5838 /src/mesa/drivers/dri/i965/brw_state.h | |
parent | 7b70a12e1c6dffc63fbcec6a89af3e02ba9a1a1d (diff) | |
download | external_mesa3d-97179c606c998b4f6810b4dc1c5007c848cda4ee.zip external_mesa3d-97179c606c998b4f6810b4dc1c5007c848cda4ee.tar.gz external_mesa3d-97179c606c998b4f6810b4dc1c5007c848cda4ee.tar.bz2 |
i965: Combine Gen4-7 and Gen8+ state base address emitters.
We're about to start calling it directly, and this means the callers
won't have to think about generations.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 7adebad..880f44e 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -167,7 +167,6 @@ extern const struct brw_tracked_state gen8_wm_state; extern const struct brw_tracked_state gen8_raster_state; extern const struct brw_tracked_state gen8_sbe_state; extern const struct brw_tracked_state gen8_sf_state; -extern const struct brw_tracked_state gen8_state_base_address; extern const struct brw_tracked_state gen8_sol_state; extern const struct brw_tracked_state gen8_sf_clip_viewport; extern const struct brw_tracked_state gen8_vertices; @@ -194,13 +193,13 @@ void brw_upload_invariant_state(struct brw_context *brw); uint32_t brw_depthbuffer_format(struct brw_context *brw); +void brw_upload_state_base_address(struct brw_context *brw); + + /* gen8_depth_state.c */ void gen8_write_pma_stall_bits(struct brw_context *brw, uint32_t pma_stall_bits); -/* gen8_misc_state.c */ -void gen8_upload_state_base_address(struct brw_context *brw); - /*********************************************************************** * brw_state.c */ |