21 lines
198 B
Plaintext
21 lines
198 B
Plaintext
|
#version 310 es
|
||
|
layout(local_size_x = 1) in;
|
||
|
|
||
|
layout(std430, binding = 0) buffer SSBO
|
||
|
{
|
||
|
float a;
|
||
|
vec4 b;
|
||
|
mat4 c;
|
||
|
|
||
|
float a1;
|
||
|
vec4 b1;
|
||
|
mat4 c1;
|
||
|
};
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
a *= a1;
|
||
|
b *= b1;
|
||
|
c *= c1;
|
||
|
}
|