mesa/src/compiler
Dave Airlie f87352d769 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>
2016-05-31 10:41:44 +10:00
..
glsl glsl/images: bounds check image unit assignment 2016-05-31 10:41:44 +10:00
nir nir/inline: Also rewrite param derefs for texture instructions 2016-05-27 10:28:27 -07:00
spirv nir/spirv: Allow pointless variable decorations on inputs 2016-05-26 17:10:50 -07:00
.gitignore mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Android.glsl.gen.mk glsl: android: add back missing generated glcpp include path 2016-04-21 14:43:21 +01:00
Android.glsl.mk compiler: Move glsl_to_nir to libglsl.la 2016-05-26 14:13:38 -07:00
Android.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.gen.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
builtin_type_macros.h glsl/types: Add a bare "sampler" type 2016-02-13 17:22:36 -08:00
glsl_types.cpp glsl: handle same struct redeclaration (v2) 2016-05-20 11:22:52 +10:00
glsl_types.h glsl: handle implicit sized arrays in ssbo 2016-05-26 12:42:10 +10:00
Makefile.am compiler: Move glsl_to_nir to libglsl.la 2016-05-26 14:13:38 -07:00
Makefile.glsl.am glsl: add warning-test 2016-05-26 09:19:17 +02:00
Makefile.nir.am nir: add the SConscript.nir to the tarball 2016-05-30 19:19:01 +01:00
Makefile.sources compiler: Move glsl_to_nir to libglsl.la 2016-05-26 14:13:38 -07:00
nir_types.cpp compiler: Add a C wrapper for glsl_type::without_array(). 2016-05-07 15:44:41 -07:00
nir_types.h nir: glsl_get_bit_size() should take glsl_type 2016-05-12 13:39:40 -04:00
SConscript scons: Build NIR. 2016-04-14 16:38:59 +01:00
SConscript.glsl compiler: Move glsl_to_nir to libglsl.la 2016-05-26 14:13:38 -07:00
SConscript.nir scons: Build NIR. 2016-04-14 16:38:59 +01:00
shader_enums.c glsl/shader_enums: Add the other two compute builtins 2016-04-11 13:53:00 -07:00
shader_enums.h glsl: fix location and component packing validation on patches 2016-05-17 15:06:12 +10:00