mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 00:40:25 +01:00
i965: Reupload push and pull constants when we get new shader image unit state.
Fixes several of the
"dEQP-GLES31.functional.image_load_store*load_store*single_layer" dEQP
tests that use image formats we implement using untyped surface
messages.
Cc: mesa-stable@lists.freedesktop.org
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 9e30d66b7c)
This commit is contained in:
parent
c58258558f
commit
c1dac9218e
1 changed files with 5 additions and 0 deletions
|
|
@ -1320,6 +1320,11 @@ brw_upload_image_surfaces(struct brw_context *brw,
|
|||
}
|
||||
|
||||
brw->ctx.NewDriverState |= BRW_NEW_SURFACES;
|
||||
/* This may have changed the image metadata dependent on the context
|
||||
* image unit state and passed to the program as uniforms, make sure
|
||||
* that push and pull constants are reuploaded.
|
||||
*/
|
||||
brw->NewGLState |= _NEW_PROGRAM_CONSTANTS;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue