SPV: Allow push constant buffers to not have an instance name.
This commit is contained in:
parent
789086a820
commit
33f85b6e59
7 changed files with 89 additions and 9 deletions
|
|
@ -46,7 +46,7 @@ layout(push_constant) uniform; // ERROR, needs an object
|
|||
|
||||
layout(push_constant) uniform pcb2 {
|
||||
int a;
|
||||
}; // ERROR, no instance name
|
||||
}; // Okay now to have no instance name
|
||||
|
||||
layout(input_attachment_index = 2) uniform subpassInput subD;
|
||||
layout(input_attachment_index = 3) uniform texture2D subDbad1; // ERROR, not a texture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue