projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
spv.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