SPV: Give error on not assigning locations to I/O.
authorJohn Kessenich <cepheus@frii.com>
Thu, 18 May 2017 00:28:19 +0000 (18:28 -0600)
committerJohn Kessenich <cepheus@frii.com>
Thu, 18 May 2017 21:07:05 +0000 (15:07 -0600)
commit71facdf435fac7f688c7237b053be1bef8cd16d0
treeeea6b19e194018b8b2a8281da1a18a6ddde1494d
parent24e895b4a3118dd691a72fcd3599d5b9bdaf4930
SPV: Give error on not assigning locations to I/O.

Also, provides an option to auto-assign locations.
Existing tests use this option, to avoid the error message,
however, it is not fully implemented yet.
14 files changed:
StandAlone/StandAlone.cpp
Test/baseResults/spv.glsl.register.autoassign.frag.out
Test/baseResults/spv.glsl.register.noautoassign.frag.out
Test/baseResults/spv.noLocation.vert.out [new file with mode: 0644]
Test/runtests
Test/spv.noLocation.vert [new file with mode: 0644]
glslang/MachineIndependent/ParseHelper.cpp
glslang/MachineIndependent/ShaderLang.cpp
glslang/MachineIndependent/iomapper.cpp
glslang/MachineIndependent/linkValidate.cpp
glslang/MachineIndependent/localintermediate.h
glslang/Public/ShaderLang.h
gtests/Link.FromFile.Vk.cpp
gtests/TestFixture.h