bgfx/3rdparty/spirv-cross/shaders-msl/comp/rmw-matrix.comp
Бранимир Караџић ac29dccc6a Added spirv-cross.
2019-01-09 19:23:47 -08:00

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;
}