SPV: Issue #180: push_constants don't have descriptor sets.
This commit is contained in:
parent
2107c76a08
commit
f7497e289b
5 changed files with 9 additions and 5 deletions
|
|
@ -24,7 +24,6 @@ Linked vertex stage:
|
|||
MemberDecorate 11(Material) 0 Offset 0
|
||||
MemberDecorate 11(Material) 1 Offset 4
|
||||
Decorate 11(Material) Block
|
||||
Decorate 13(matInst) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
|
|
|
|||
|
|
@ -22,7 +22,8 @@ ERROR: 0:25: 'packed' : not allowed when using GLSL for Vulkan
|
|||
ERROR: 0:32: 'initializer' : can't use with types containing arrays sized with a specialization constant
|
||||
ERROR: 0:34: '=' : can't use with types containing arrays sized with a specialization constant
|
||||
ERROR: 0:35: '==' : can't use with types containing arrays sized with a specialization constant
|
||||
ERROR: 22 compilation errors. No code generated.
|
||||
ERROR: 0:39: 'set' : cannot be used with push_constant
|
||||
ERROR: 23 compilation errors. No code generated.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -34,4 +34,6 @@ void foo()
|
|||
a1 = a2; // ERROR, can't assign, even though the same type
|
||||
if (a1 == a2) // ERROR, can't compare either
|
||||
++color;
|
||||
}
|
||||
}
|
||||
|
||||
layout(set = 1, push_constant) uniform badpc { int a; } badpcI; // ERROR, no descriptor set with push_constant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue