SPV: Address #759: make ViewIndex and DeviceIndex by 'in', not 'uniform'.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
// For the version, it uses the latest git tag followed by the number of commits.
|
||||
// For the date, it uses the current date (when then script is run).
|
||||
|
||||
#define GLSLANG_REVISION "Overload400-PrecQual.1902"
|
||||
#define GLSLANG_DATE "11-Mar-2017"
|
||||
#define GLSLANG_REVISION "Overload400-PrecQual.1906"
|
||||
#define GLSLANG_DATE "13-Mar-2017"
|
||||
|
||||
@@ -3702,8 +3702,8 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV
|
||||
}
|
||||
|
||||
if (profile != EEsProfile) {
|
||||
commonBuiltins.append("uniform int gl_ViewIndex;");
|
||||
commonBuiltins.append("uniform int gl_DeviceIndex;"); // GL_EXT_device_group
|
||||
commonBuiltins.append("in int gl_ViewIndex;");
|
||||
commonBuiltins.append("in int gl_DeviceIndex;"); // GL_EXT_device_group
|
||||
}
|
||||
|
||||
// printf("%s\n", commonBuiltins.c_str());
|
||||
|
||||
Reference in New Issue
Block a user