-static void populate_key(struct brw_context *brw,
- struct brw_ff_gs_prog_key *key)
+static bool
+brw_ff_gs_state_dirty(const struct brw_context *brw)
+{
+ return brw_state_dirty(brw,
+ _NEW_LIGHT,
+ BRW_NEW_PRIMITIVE |
+ BRW_NEW_TRANSFORM_FEEDBACK |
+ BRW_NEW_VS_PROG_DATA);
+}
+
+static void
+brw_ff_gs_populate_key(struct brw_context *brw,
+ struct brw_ff_gs_prog_key *key)