summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_metadata.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-05-23 12:49:25 +1000
committerDave Airlie <airlied@redhat.com>2016-05-31 10:41:44 +1000
commitf87352d76966b6e4b0ab5fa9129ccd1ade0c2e7a (patch)
treef14f3df19106ce11f0d3d75003e1525143fc9092 /src/compiler/nir/nir_metadata.c
parent4b1a167a2bce936beabd03ffc313a63d8deeed09 (diff)
glsl/images: bounds check image unit assignment
The CTS test: GL45-CTS.multi_bind.dispatch_bind_image_textures binds 192 image uniforms, we reject this later, but not until after we trash the contents of the struct gl_shader. Error now reads: Too many compute shader image uniforms (192 > 16) instead of Too many compute shader image uniforms (2745344416 > 16) Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "12.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/compiler/nir/nir_metadata.c')
0 files changed, 0 insertions, 0 deletions