Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git] / Test / spv.1.3.8bitstorage-ubo.vert
1 #version 450\r
2 \r
3 #extension GL_EXT_shader_8bit_storage: require\r
4 \r
5 layout(binding = 0) readonly uniform Vertices\r
6 {\r
7     uint8_t vertices[512];\r
8 };\r
9 \r
10 layout(location = 0) out vec4 color;\r
11 \r
12 void main()\r
13 {\r
14     color = vec4(int(vertices[gl_VertexIndex]));\r
15 }\r