|
|
@ -10,9 +10,9 @@ layout(std430, push_constant) uniform PushConstant {
|
|
|
|
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
layout(location = 1) out vec2 fragUV;
|
|
|
|
layout(location = 1) out vec2 fragUV;
|
|
|
|
layout(location = 2) out uint code;
|
|
|
|
layout(location = 2) out flat uint code;
|
|
|
|
layout(location = 3) out uint index;
|
|
|
|
layout(location = 3) out flat uint index;
|
|
|
|
layout(location = 4) out uint type;
|
|
|
|
layout(location = 4) out flat uint type;
|
|
|
|
|
|
|
|
|
|
|
|
const vec2 square[6] = {
|
|
|
|
const vec2 square[6] = {
|
|
|
|
vec2(0.0, 0.0),
|
|
|
|
vec2(0.0, 0.0),
|
|
|
|