diff options
Diffstat (limited to 'stockton-render/src/draw/ui/data/stockton.vert')
-rw-r--r-- | stockton-render/src/draw/ui/data/stockton.vert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stockton-render/src/draw/ui/data/stockton.vert b/stockton-render/src/draw/ui/data/stockton.vert index 7447fec..d84cc56 100644 --- a/stockton-render/src/draw/ui/data/stockton.vert +++ b/stockton-render/src/draw/ui/data/stockton.vert @@ -6,13 +6,13 @@ layout (push_constant) uniform PushConsts { layout(location = 0) in vec2 pos; layout (location = 1) in vec2 uv; -layout (location = 2) in int col; // rgba of u8s +layout (location = 2) in uint col; // rgba of u8s out gl_PerVertex { vec4 gl_Position; }; layout (location = 1) out vec2 frag_uv; -layout (location = 2) out int frag_col; +layout (location = 2) out uint frag_col; void main() { gl_Position = vec4( |