diff options
author | Kenneth Graunke <[email protected]> | 2018-04-22 21:29:43 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:06 -0800 |
commit | 86d7fd71f4e2a1321668a735c230f379630ce531 (patch) | |
tree | 9f3ff32b9e14f3d3b57ddc104dd67675a9836aab /src | |
parent | b8a11ad256ddae35314bd870266dfad9fbe68f56 (diff) |
iris: add INTEL_DEBUG=reemit
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |