From dee33d19b6d4adca914ee94dfc4a5bf34f52d0e6 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 20 Oct 2024 22:39:54 -0600 Subject: [PATCH] Flattened fargment shader inputs --- client/shader_src/ui.vert | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/shader_src/ui.vert b/client/shader_src/ui.vert index 8268d49..61a56b7 100644 --- a/client/shader_src/ui.vert +++ b/client/shader_src/ui.vert @@ -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),