GLSL/SPV: no location on atomic_uint; Fix #1339.
This commit is contained in:
parent
b92ce60fc7
commit
1dcd162399
3 changed files with 19 additions and 9 deletions
|
|
@ -432,6 +432,7 @@ struct TDefaultIoResolverBase : public glslang::TIoMapResolver
|
|||
// no locations added if already present, a built-in variable, a block, or an opaque
|
||||
if (type.getQualifier().hasLocation() || type.isBuiltIn() ||
|
||||
type.getBasicType() == EbtBlock ||
|
||||
type.getBasicType() == EbtAtomicUint ||
|
||||
(type.containsOpaque() && intermediate.getSpv().openGl == 0))
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue