SPV: Address #759: make ViewIndex and DeviceIndex by 'in', not 'uniform'.
This commit is contained in:
parent
946e0a6d8c
commit
7a44a31dee
4 changed files with 10 additions and 10 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue