Mesa (master): i965: Make L3 configuration atom listen for TCS/ TES program updates.

Kenneth Graunke kwg at kemper.freedesktop.org
Fri Nov 10 21:36:32 UTC 2017


Module: Mesa
Branch: master
Commit: b8d42cccd053e32ca048645ea7e6f901366e286d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8d42cccd053e32ca048645ea7e6f901366e286d

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Nov  9 00:06:14 2017 -0800

i965: Make L3 configuration atom listen for TCS/TES program updates.

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 at riseup.net>

---

 src/mesa/drivers/dri/i965/gen7_l3_state.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/gen7_l3_state.c b/src/mesa/drivers/dri/i965/gen7_l3_state.c
index 0b2d61f9e0..06559f5db7 100644
--- a/src/mesa/drivers/dri/i965/gen7_l3_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_l3_state.c
@@ -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




More information about the mesa-commit mailing list