i965: Make L3 configuration atom listen for TCS/TES program updates.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Nov 2017 08:06:14 +0000 (00:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Nov 2017 21:34:59 +0000 (13:34 -0800)
The L3 configuration code already considers the TCS and TES programs,
but failed to listen for TCS/TES program changes.

This was somehow missing.

Fixes: e9644cb1f96ccf7e ("i965: Consider tessellation in get_pipeline_state_l3_weights.")
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/gen7_l3_state.c

index 0b2d61f9e0fd3cce7a43ca2b2c2635d4eb7404b8..06559f5db700fb5a9f8b710168fa5031eb9d30e2 100644 (file)
@@ -263,6 +263,8 @@ const struct brw_tracked_state gen7_l3_state = {
              BRW_NEW_CS_PROG_DATA |
              BRW_NEW_FS_PROG_DATA |
              BRW_NEW_GS_PROG_DATA |
+             BRW_NEW_TCS_PROG_DATA |
+             BRW_NEW_TES_PROG_DATA |
              BRW_NEW_VS_PROG_DATA,
    },
    .emit = emit_l3_state