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 #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git]
/
Test
/
spv.8bitstorage-ssbo.vert
1
#version 450
\r
2
\r
3
#extension GL_EXT_shader_8bit_storage: require
\r
4
\r
5
layout(binding = 0) readonly buffer Vertices
\r
6
{
\r
7
uint8_t vertices[];
\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