SPIRV-Cross/reference/shaders/asm/comp/bitcast_iadd.asm.comp

28 lines
557 B
Plaintext
Raw Normal View History

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
2017-09-29 10:20:57 +00:00
layout(binding = 0, std430) restrict buffer _3_5
{
2017-07-29 19:47:28 +00:00
ivec4 _m0;
uvec4 _m1;
} _5;
2017-09-29 10:20:57 +00:00
layout(binding = 1, std430) restrict buffer _4_6
{
2017-07-29 19:47:28 +00:00
uvec4 _m0;
ivec4 _m1;
} _6;
void main()
{
2017-07-29 19:47:28 +00:00
_6._m0 = _5._m1 + uvec4(_5._m0);
_6._m0 = uvec4(_5._m0) + _5._m1;
_6._m0 = _5._m1 + _5._m1;
_6._m0 = uvec4(_5._m0 + _5._m0);
_6._m1 = ivec4(_5._m1 + _5._m1);
_6._m1 = _5._m0 + _5._m0;
_6._m1 = ivec4(_5._m1) + _5._m0;
_6._m1 = _5._m0 + ivec4(_5._m1);
}