summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/link_varyings.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-08-31 00:16:24 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-09-01 11:07:07 -0700
commit72b56e8b1ae34b4c10f822b704521ccd463270b3 (patch)
tree7f41a16c91103a53dafc0df109b29b08d51136ae /src/compiler/glsl/link_varyings.cpp
parent2f3154f464ba0942da3e3509ff4e42928e7b60f7 (diff)
downloadexternal_mesa3d-72b56e8b1ae34b4c10f822b704521ccd463270b3.tar.gz
external_mesa3d-72b56e8b1ae34b4c10f822b704521ccd463270b3.tar.bz2
external_mesa3d-72b56e8b1ae34b4c10f822b704521ccd463270b3.zip
glsl: Reject TCS/TES input arrays not sized to gl_MaxPatchVertices.
We handled the unsized case, implicitly sizing arrays to the value of gl_MaxPatchVertices. But if a size was present, we failed to raise a compile error if it wasn't the value of gl_MaxPatchVertices. Fixes CTS tests: *.tessellation_shader.compilation_and_linking_errors. {tc,te}_invalid_array_size_used_for_input_blocks Piglit's tcs-input-read-nonconst-* tests have recently been fixed. This patch will break older copies of those tests, but the latest should continue working. Update to Piglit 75819c13af2ed5. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/compiler/glsl/link_varyings.cpp')
0 files changed, 0 insertions, 0 deletions