diff options
author | Kenneth Graunke <[email protected]> | 2014-03-17 20:17:47 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-04-07 23:37:18 -0700 |
commit | ee12a03805418d2dd9616a79d87541cc3ab9e0ea (patch) | |
tree | 6237e92a1bff701eb4b49432f659ad204a97ec06 /src/mesa | |
parent | 47682f2ca10e5d382276659638f10687ee5a19f4 (diff) |
i965: Fix missing dirty bits in the gen8_sbe_state atom.
These are clearly needed---the comments in the function are even present
for each one of them. I originally had two separate state atoms for
3DSTATE_SBE and 3DSTATE_SBE_SWIZ. When I combined the functions, I must
have forgotten to add the atoms for 3DSTATE_SBE_SWIZ.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_sf_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_sf_state.c b/src/mesa/drivers/dri/i965/gen8_sf_state.c index 0693fee7047..0a69e7061f0 100644 --- a/src/mesa/drivers/dri/i965/gen8_sf_state.c +++ b/src/mesa/drivers/dri/i965/gen8_sf_state.c @@ -101,11 +101,11 @@ upload_sbe(struct brw_context *brw) const struct brw_tracked_state gen8_sbe_state = { .dirty = { - .mesa = _NEW_LIGHT | _NEW_POINT, + .mesa = _NEW_BUFFERS | _NEW_LIGHT | _NEW_POINT | _NEW_PROGRAM, .brw = BRW_NEW_CONTEXT | BRW_NEW_FRAGMENT_PROGRAM | BRW_NEW_VUE_MAP_GEOM_OUT, - .cache = 0 + .cache = CACHE_NEW_WM_PROG, }, .emit = upload_sbe, }; |