i965: Add missing _NEW_PROGRAM dirty bit to the gen7_sbe_state atom.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Jan 2012 19:00:23 +0000 (11:00 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Jan 2012 05:45:09 +0000 (21:45 -0800)
commit60343b67f7741bba8ca086f4b5431e68e58c75a2
tree49a660641515cf1762e3ceb0451e94a3861a0034
parentf497906ec0c01ec714d77bfcc2f0a38da5dafcc2
i965: Add missing _NEW_PROGRAM dirty bit to the gen7_sbe_state atom.

According to a comment in gen6_sf_state, calls to get_attr_override need
both _NEW_PROGRAM and _NEW_LIGHT.  Since Gen7 reuses the same function,
the same dirty bits should apply.

NOTE: This is a candidate for the 7.11 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_sf_state.c