bgfx/3rdparty/glslang/Test/spv.storageBuffer.vert
Branimir Karadžić 4ee3b81c61 Updated glslang.
2017-04-22 00:26:44 -07:00

17 lines
172 B
GLSL

#version 450
#pragma use_storage_buffer
uniform ub {
vec4 a;
} ubi;
buffer bb {
vec4 b;
} bbi;
void main()
{
gl_Position = ubi.a + bbi.b;
}