summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/optimization-test
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-10-22 15:10:16 -0700
committerIan Romanick <ian.d.romanick@intel.com>2013-10-22 15:23:30 -0700
commit1eee0a9f016a1049869f4677f5919186ee3785a2 (patch)
treed6a7aae0ddc0498999bbba56d908b3e51b72aa8c /src/glsl/tests/optimization-test
parentcf8b14ce6dc8e6c741005fa76cfda046e1618ea4 (diff)
downloadexternal_mesa3d-1eee0a9f016a1049869f4677f5919186ee3785a2.zip
external_mesa3d-1eee0a9f016a1049869f4677f5919186ee3785a2.tar.gz
external_mesa3d-1eee0a9f016a1049869f4677f5919186ee3785a2.tar.bz2
glsl/tests: Unit test vertex shader in / out with link_invalidate_variable_locations
Validates: - ir_variable::explicit_location should not be modified. - If ir_variable::explicit_location is not set, ir_variable::location, ir_variable::location_frac, and ir_variable::is_unmatched_generic_inout must be reset to 0. - If ir_variable::explicit_location is set, ir_variable::location should not be modified. ir_variable::location_frac, and ir_variable::is_unmatched_generic_inout must be reset to 0. Previous unit tests have shown that all non-generic inputs / outputs have explicit_location set. v2: Split the link_invalidate_variable_locations interface change out to a separate patch. Remove the vertex_in_builtin_without_explicit and vertex_out_builtin_without_explicit tests. There was a lot of good discussion about this on the mailing list to which I refer the interested reader. Both changes suggested by Paul. http://lists.freedesktop.org/archives/mesa-dev/2013-October/046652.html Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/glsl/tests/optimization-test')
0 files changed, 0 insertions, 0 deletions