You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
255 B

#version 450
#extension GL_EXT_shader_8bit_storage: require
layout(binding = 0) readonly buffer Vertices
{
uint8_t vertices[];
};
layout(location = 0) out vec4 color;
void main()
{
color = vec4(int(vertices[gl_VertexIndex]));
}