SPIRV-Cross/shaders-msl/comp/rmw-matrix.comp
Hans-Kristian Arntzen 85a8f066f4 Do not use RMW rewrite for matrices.
Does not work on MSL.
2018-05-04 10:35:56 +02: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;
}