Flattened fargment shader inputs

main
noah metz 2024-10-20 22:39:54 -06:00
parent 285a937e1b
commit dee33d19b6
1 changed files with 3 additions and 3 deletions

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