First Commit
This commit is contained in:
15
externals/glslang/Test/spv.8bitstorage-ssbo.vert
vendored
Normal file
15
externals/glslang/Test/spv.8bitstorage-ssbo.vert
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#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]));
|
||||
}
|
||||
Reference in New Issue
Block a user