SPIRV-Cross/reference/opt/shaders/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
296 B
Plaintext

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout(binding = 0, std430) buffer SSBO
{
float a;
vec4 b;
mat4 c;
float a1;
vec4 b1;
mat4 c1;
} _11;
void main()
{
_11.a *= _11.a1;
_11.b *= _11.b1;
_11.c = _11.c * _11.c1;
}