projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a6c99
)
iris: fix context restore of 3DSTATE_CONSTANT ranges
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 20 Sep 2018 20:32:07 +0000
(13:32 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000
(10:26 -0800)
if clean we want to DO the pinning...not SKIP the pinning.
thanks to Jordan Justen for catching this!
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index 01d771ac4d40c6afd45907e7fb10b1d84031cf90..bdded0a1efd716c6dde46bc36bc2a04ffd6bf1af 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-3276,7
+3276,7
@@
iris_restore_context_saved_bos(struct iris_context *ice,
}
for (int stage = 0; stage <= MESA_SHADER_FRAGMENT; stage++) {
- if (
clean & (IRIS_DIRTY_CONSTANTS_VS << stage
))
+ if (
!(clean & (IRIS_DIRTY_CONSTANTS_VS << stage)
))
continue;
struct iris_shader_state *shs = &ice->state.shaders[stage];