glsl: fix shader_storage_blocks_write_access for SSBO block arrays (v2)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 8 Apr 2019 21:20:13 +0000 (17:20 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 25 Apr 2019 22:57:38 +0000 (18:57 -0400)
commitc5f65bfe6c9b82925d65ba677664cfc063a9b96c
treece9d413e77031dba55385abe03ad20f68b1ff75a
parenta6ab27dcabb959d2a793e6217816f04292fcf339
glsl: fix shader_storage_blocks_write_access for SSBO block arrays (v2)

This fixes KHR-GL45.compute_shader.resources-max on radeonsi.

Fixes: 4e1e8f684bf "glsl: remember which SSBOs are not read-only and pass it to gallium"
v2: use is_interface_array, protect again assertion failures in u_bit_consecutive

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/link_uniforms.cpp