SPIRV-Cross/reference/shaders/asm/comp/multiple-entry.asm.comp
2017-09-29 12:20:57 +02:00

28 lines
557 B
Plaintext

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout(binding = 0, std430) restrict buffer _6_8
{
ivec4 _m0;
uvec4 _m1;
} _8;
layout(binding = 1, std430) restrict buffer _7_9
{
uvec4 _m0;
ivec4 _m1;
} _9;
void main()
{
_9._m0 = _8._m1 + uvec4(_8._m0);
_9._m0 = uvec4(_8._m0) + _8._m1;
_9._m0 = _8._m1 + _8._m1;
_9._m0 = uvec4(_8._m0 + _8._m0);
_9._m1 = ivec4(_8._m1 + _8._m1);
_9._m1 = _8._m0 + _8._m0;
_9._m1 = ivec4(_8._m1) + _8._m0;
_9._m1 = _8._m0 + ivec4(_8._m1);
}