On Friday, February 06, 2015 07:23:20 PM Francisco Jerez wrote: > Null surfaces are going to be useful to have something to point > unbound image units to, as the ARB_shader_image_load_store extension > requires us to behave deterministically in cases where some shader > tries to access an unbound image unit: Invalid stores and atomics are > supposed to be discarded and invalid loads are supposed to return > zero, which is precisely what the null surface does. > --- > src/mesa/drivers/dri/i965/brw_context.h | 9 ++-- > src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 53 > +++++++++++++---------- > src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 24 +++++----- > src/mesa/drivers/dri/i965/gen8_surface_state.c | 25 +++++------ > 4 files changed, 55 insertions(+), 56 deletions(-)
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev