<div dir="ltr"><div>It would be helpful to add a /* BRW_NEW_*_PROGRAM */ comment to get_pipeline_state_l3_weights.  With that,<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 15, 2017 at 1:29 PM, Kenneth Graunke <span dir="ltr"><<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This looks at prog->*.  You don't get to do that unless you listen to<br>
BRW_NEW_*_PROGRAM, which is a superset of the cases where<br>
BRW_NEW_*_PROG_DATA is flagged.<br>
---<br>
 src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c | 5 +++++<br>
 1 file changed, 5 insertions(+)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c b/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c<br>
index 8c8f4169e7e..7044d5a8984 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>gen7_l3_state.c<br>
@@ -255,11 +255,16 @@ const struct brw_tracked_state gen7_l3_state = {<br>
       .mesa = 0,<br>
       .brw = BRW_NEW_BATCH |<br>
              BRW_NEW_BLORP |<br>
+             BRW_NEW_COMPUTE_PROGRAM |<br>
              BRW_NEW_CS_PROG_DATA |<br>
+             BRW_NEW_FRAGMENT_PROGRAM |<br>
              BRW_NEW_FS_PROG_DATA |<br>
+             BRW_NEW_GEOMETRY_PROGRAM |<br>
              BRW_NEW_GS_PROG_DATA |<br>
+             BRW_NEW_TESS_PROGRAMS |<br>
              BRW_NEW_TCS_PROG_DATA |<br>
              BRW_NEW_TES_PROG_DATA |<br>
+             BRW_NEW_VERTEX_PROGRAM |<br>
              BRW_NEW_VS_PROG_DATA,<br>
    },<br>
    .emit = emit_l3_state<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.15.0<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>