diff options
author | Kenneth Graunke <[email protected]> | 2014-11-24 23:57:48 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-12-02 17:00:26 -0800 |
commit | 4f24c168c87e9938f35f5ec135062408148be373 (patch) | |
tree | 40d36afa98ee6fb039a7e39697c0426b000ade1d /src/mesa/drivers/dri/i965/gen8_draw_upload.c | |
parent | ce44b2061cf59264b4f22271e8d70cdc826af6de (diff) |
i965: Move BRW_NEW_*_PROG_DATA flags to .brw (not .cache).
I put the BRW_NEW_*_PROG_DATA flags at the beginning so that
brw_state_cache.c can still continue using 1 << brw_cache_id.
I also added a comment explaining the difference between
BRW_NEW_*_PROG_DATA and BRW_NEW_*_PROGRAM, as it took me a long time
to remember it.
Non-mechanical changes:
- brw_state_cache.c and brw_ff_gs.c now signal .brw, not .cache.
- brw_state_upload.c - INTEL_DEBUG=state changes.
- brw_context.h - bit definition merging.
v2: Correct the explanation of BRW_NEW_*_PROG_DATA to mention
state-based recompiles, and nix the "proper subset" claim,
as it's false. (Caught by Kristian Høgsberg).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen8_draw_upload.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_draw_upload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_draw_upload.c b/src/mesa/drivers/dri/i965/gen8_draw_upload.c index a189c19052e..9e8e24b4630 100644 --- a/src/mesa/drivers/dri/i965/gen8_draw_upload.c +++ b/src/mesa/drivers/dri/i965/gen8_draw_upload.c @@ -234,8 +234,8 @@ const struct brw_tracked_state gen8_vertices = { .dirty = { .mesa = _NEW_POLYGON, .brw = BRW_NEW_BATCH | - BRW_NEW_VERTICES, - .cache = BRW_NEW_VS_PROG_DATA, + BRW_NEW_VERTICES | + BRW_NEW_VS_PROG_DATA, }, .emit = gen8_emit_vertices, }; |