summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.c
diff options
context:
space:
mode:
authorJose Maria Casanova Crespo <[email protected]>2017-02-17 14:06:46 +0100
committerAndres Gomez <[email protected]>2017-02-17 15:49:16 +0200
commit429f112a1124ace20052f0ea52de691edbfddf03 (patch)
treed29c0898caa0f959fca561c2111f609cd68dbff5 /src/amd/common/ac_llvm_build.c
parenta0ac118398c924f2ae75e5649fbaacd95abd231f (diff)
glsl: link error if unsized array not-last in ssbo
If an unsized declared array is not the last in an SSBO and an implicit size can not be defined on linking time, the linker should raise an error instead of reaching an assertion on GL. This reverts part of commit 3da08e166415a745139c1127040a24e8a45dc553 getting back to the behavior of commit 5b2675093e863a52b610f112884ae12d42513770 The original patch was correct for GLES that should produce a compile-time error but the linker error is still necessary in desktop GL. Fixes the following piglit tests: tests/spec/arb_shader_storage_buffer_object/non_integral_size_array_member.shader_test tests/spec/arb_shader_storage_buffer_object/unsized_array_member.shader_test Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> Signed-off-by: Jose Maria Casanova Crespo <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.c')
0 files changed, 0 insertions, 0 deletions