mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
670271890d
Longer term, this storage class should be generated based on the mode of compilation.
17 lines
172 B
GLSL
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;
|
|
}
|