mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
iris: fix context restore of 3DSTATE_CONSTANT ranges
if clean we want to DO the pinning...not SKIP the pinning. thanks to Jordan Justen for catching this!
This commit is contained in:
parent
58a6c99ebe
commit
aaced066e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue