[Mesa-dev] [PATCH 06/14] i965: Generalize the update_null_renderbuffer_surface vtbl hook to non-renderbuffers.
Kenneth Graunke
kenneth at whitecape.org
Fri Feb 6 12:17:27 PST 2015
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 <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150206/12acffd9/attachment.sig>
More information about the mesa-dev
mailing list