diff options
author | Kenneth Graunke <[email protected]> | 2018-11-03 07:24:54 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | aef1ba5ce4fe2c2359d2927f209107853440bb5a (patch) | |
tree | 62645565d3c755d58c4aeced4a368786d5733e5a /src/gallium | |
parent | 525d89cafce495492429b23cdddd4d219f5c789b (diff) |
iris: fix overhead regression from "don't stomp each other's dirty bits"
The change from dirty = 0ull to dirty &= ~NOT_MY_BITS broke the "nothing
to do? skip it!" optimization. thanks to Chris for noticing this!
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index be7ca83d4b3..859c96717bc 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -3766,7 +3766,7 @@ iris_upload_dirty_render_state(struct iris_context *ice, { const uint64_t dirty = ice->state.dirty; - if (!dirty) + if (!(dirty & IRIS_ALL_DIRTY_FOR_RENDER)) return; struct iris_genx_state *genx = ice->state.genx; |