On Friday, February 12, 2016 12:20:15 PM PST Francisco Jerez wrote: > 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: [email protected] > Tested-by: Ilia Mirkin <[email protected]> > --- > src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/ drivers/dri/i965/brw_wm_surface_state.c > index 5ab2f7f..8b12a48 100644 > --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c > +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c > @@ -1340,6 +1340,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; > } > } > >
Reviewed-by: Kenneth Graunke <[email protected]>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
