summaryrefslogtreecommitdiff
path: root/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'glsl')
-rw-r--r--glsl/shader_2d_wired.frag.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/glsl/shader_2d_wired.frag.glsl b/glsl/shader_2d_wired.frag.glsl
index c7aa3f4..505cbb1 100644
--- a/glsl/shader_2d_wired.frag.glsl
+++ b/glsl/shader_2d_wired.frag.glsl
@@ -21,8 +21,7 @@ layout(location = 0) out vec4 out_color;
layout(push_constant) uniform PCColor
{
- vec4 offset; //offset
- vec3 color;
+ layout(offset = 16) vec3 color;
} sprite;
void