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.
This commit is contained in:
parent
24e895b4a3
commit
71facdf435
14 changed files with 97 additions and 10 deletions
|
|
@ -60,6 +60,7 @@ TEST_P(LinkTestVulkan, FromFile)
|
|||
shaders.emplace_back(
|
||||
new glslang::TShader(GetShaderStage(GetSuffix(fileNames[i]))));
|
||||
auto* shader = shaders.back().get();
|
||||
shader->setAutoMapLocations(true);
|
||||
compile(shader, contents, "", controls);
|
||||
result.shaderResults.push_back(
|
||||
{fileNames[i], shader->getInfoLog(), shader->getInfoDebugLog()});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue