From 86d7fd71f4e2a1321668a735c230f379630ce531 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 22 Apr 2018 21:29:43 -0700 Subject: [PATCH] iris: add INTEL_DEBUG=reemit --- src/gallium/drivers/iris/iris_state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index c1d523d3925..04197ef2e52 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -2026,7 +2026,8 @@ iris_upload_render_state(struct iris_context *ice, struct iris_batch *batch, const struct pipe_draw_info *draw) { - const uint64_t dirty = ice->state.dirty; + const uint64_t dirty = + unlikely(INTEL_DEBUG & DEBUG_REEMIT) ? ~0ull : ice->state.dirty; struct brw_wm_prog_data *wm_prog_data = (void *) ice->shaders.prog[MESA_SHADER_FRAGMENT]->prog_data; -- 2.30.2