SPV: Allow push constant buffers to not have an instance name.

This commit is contained in:
John Kessenich 2017-03-06 08:51:35 -07:00
parent 789086a820
commit 33f85b6e59
7 changed files with 89 additions and 9 deletions

View file

@ -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