Commit 9e30d66b authored by Francisco Jerez's avatar Francisco Jerez
Browse files

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's avatarIlia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 40fcb6b9
......@@ -1364,6 +1364,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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment