Re: [Mesa-dev] [PATCH] glsl/images: bounds check image unit assignment

2016-05-22 Thread Ilia Mirkin
On Sun, May 22, 2016 at 10:51 PM, Dave Airlie wrote: > From: Dave Airlie > > 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 co

[Mesa-dev] [PATCH] glsl/images: bounds check image unit assignment

2016-05-22 Thread Dave Airlie
From: Dave Airlie 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 shade