Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
spv.1.3.8bitstorage-ssbo.vert
blob: 61ba7bf1523b808a53cad727e270e978d8520d79 [
file
] [
log
] [
blame
] [
edit
]
#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
]));
}