bgfx/3rdparty/glslang/Test/spv.storageBuffer.vert

17 lines
172 B
GLSL
Raw Normal View History

2017-04-22 10:26:44 +03:00
#version 450
#pragma use_storage_buffer
uniform ub {
vec4 a;
} ubi;
buffer bb {
vec4 b;
} bbi;
void main()
{
gl_Position = ubi.a + bbi.b;
}