/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/comp/ |
D | nmin-max-clamp.asm.comp | 18 } _4; 22 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : min(_4.b1, _4.c1)); 23 _4.a2 = mix(mix(min(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2)); 24 _4.a3 = mix(mix(min(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3)); 25 _4.a4 = mix(mix(min(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4)); 26 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : max(_4.b1, _4.c1)); 27 _4.a2 = mix(mix(max(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2)); 28 _4.a3 = mix(mix(max(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3)); 29 _4.a4 = mix(mix(max(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4)); 30 float _179 = isnan(_4.b1) ? _4.a1 : (isnan(_4.a1) ? _4.b1 : max(_4.a1, _4.b1)); [all …]
|
D | quantize.asm.comp | 10 } _4; 14 _4.scalar = unpackHalf2x16(packHalf2x16(vec2(_4.scalar))).x; 15 _4.vec2_val = unpackHalf2x16(packHalf2x16(_4.vec2_val)); 16 …_4.vec3_val = vec3(unpackHalf2x16(packHalf2x16(_4.vec3_val.xy)), unpackHalf2x16(packHalf2x16(_4.ve… 17 …_4.vec4_val = vec4(unpackHalf2x16(packHalf2x16(_4.vec4_val.xy)), unpackHalf2x16(packHalf2x16(_4.ve…
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/asm/comp/ |
D | nmin-max-clamp.asm.comp | 18 } _4; 22 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : min(_4.b1, _4.c1)); 23 _4.a2 = mix(mix(min(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2)); 24 _4.a3 = mix(mix(min(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3)); 25 _4.a4 = mix(mix(min(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4)); 26 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : max(_4.b1, _4.c1)); 27 _4.a2 = mix(mix(max(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2)); 28 _4.a3 = mix(mix(max(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3)); 29 _4.a4 = mix(mix(max(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4)); 30 float _180 = isnan(_4.b1) ? _4.a1 : (isnan(_4.a1) ? _4.b1 : max(_4.a1, _4.b1)); [all …]
|
D | quantize.asm.comp | 10 } _4; 14 _4.scalar = unpackHalf2x16(packHalf2x16(vec2(_4.scalar))).x; 15 _4.vec2_val = unpackHalf2x16(packHalf2x16(_4.vec2_val)); 16 …_4.vec3_val = vec3(unpackHalf2x16(packHalf2x16(_4.vec3_val.xy)), unpackHalf2x16(packHalf2x16(_4.ve… 17 …_4.vec4_val = vec4(unpackHalf2x16(packHalf2x16(_4.vec4_val.xy)), unpackHalf2x16(packHalf2x16(_4.ve…
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/asm/comp/ |
D | nmin-max-clamp.asm.comp | 1 RWByteAddressBuffer _4 : register(u0); 5 …_4.Store(0, asuint(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48)… 6 bool2 _146 = isnan(asfloat(_4.Load2(56))); 7 bool2 _147 = isnan(asfloat(_4.Load2(104))); 8 float2 _148 = min(asfloat(_4.Load2(56)), asfloat(_4.Load2(104))); 9 …float2 _149 = float2(_146.x ? asfloat(_4.Load2(104)).x : _148.x, _146.y ? asfloat(_4.Load2(104)).y… 10 …_4.Store2(8, asuint(float2(_147.x ? asfloat(_4.Load2(56)).x : _149.x, _147.y ? asfloat(_4.Load2(56… 11 bool3 _151 = isnan(asfloat(_4.Load3(64))); 12 bool3 _152 = isnan(asfloat(_4.Load3(112))); 13 float3 _153 = min(asfloat(_4.Load3(64)), asfloat(_4.Load3(112))); [all …]
|
D | access-chain-invalidate.asm.comp | 1 RWByteAddressBuffer _4 : register(u0); 5 uint _21 = _4.Load(_4.Load(0) * 4 + 4); 8 _4.Store(_23 * 4 + 4, 0u); 12 _4.Store(_4.Load(0) * 4 + 4, _21);
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/asm/comp/ |
D | nmin-max-clamp.asm.comp | 1 RWByteAddressBuffer _4 : register(u0); 5 …_4.Store(0, asuint(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48)… 6 bool2 _145 = isnan(asfloat(_4.Load2(56))); 7 bool2 _146 = isnan(asfloat(_4.Load2(104))); 8 float2 _147 = min(asfloat(_4.Load2(56)), asfloat(_4.Load2(104))); 9 …float2 _148 = float2(_145.x ? asfloat(_4.Load2(104)).x : _147.x, _145.y ? asfloat(_4.Load2(104)).y… 10 …_4.Store2(8, asuint(float2(_146.x ? asfloat(_4.Load2(56)).x : _148.x, _146.y ? asfloat(_4.Load2(56… 11 bool3 _150 = isnan(asfloat(_4.Load3(64))); 12 bool3 _151 = isnan(asfloat(_4.Load3(112))); 13 float3 _152 = min(asfloat(_4.Load3(64)), asfloat(_4.Load3(112))); [all …]
|
D | access-chain-invalidate.asm.comp | 1 RWByteAddressBuffer _4 : register(u0); 5 uint _21 = _4.Load(_4.Load(0) * 4 + 4); 8 _4.Store(_23 * 4 + 4, 0u); 12 _4.Store(_4.Load(0) * 4 + 4, _21);
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/intel/ |
D | shader-integer-functions2.asm.comp | 14 kernel void main0(device foo& _4 [[buffer(0)]]) 16 _4.a = clz(_4.a); 17 _4.a = ctz(_4.a); 18 _4.a = absdiff(_4.c, _4.d); 19 _4.a = absdiff(_4.a, _4.b); 20 _4.c = addsat(_4.c, _4.d); 21 _4.a = addsat(_4.a, _4.b); 22 _4.c = hadd(_4.c, _4.d); 23 _4.a = hadd(_4.a, _4.b); 24 _4.c = rhadd(_4.c, _4.d); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/intel/ |
D | shader-integer-functions2.asm.comp | 14 kernel void main0(device foo& _4 [[buffer(0)]]) 16 _4.a = clz(_4.a); 17 _4.a = ctz(_4.a); 18 _4.a = absdiff(_4.c, _4.d); 19 _4.a = absdiff(_4.a, _4.b); 20 _4.c = addsat(_4.c, _4.d); 21 _4.a = addsat(_4.a, _4.b); 22 _4.c = hadd(_4.c, _4.d); 23 _4.a = hadd(_4.a, _4.b); 24 _4.c = rhadd(_4.c, _4.d); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/asm/comp/ |
D | glsl-signed-operations.asm.comp | 8 } _4; 12 ivec4 _19 = _4.ints; 13 uvec4 _20 = _4.uints; 14 _4.ints = abs(_19); 15 _4.uints = uvec4(abs(_19)); 16 _4.ints = abs(ivec4(_20)); 17 _4.uints = uvec4(abs(ivec4(_20))); 18 _4.ints = sign(_19); 19 _4.uints = uvec4(sign(_19)); 20 _4.ints = sign(ivec4(_20)); [all …]
|
D | arithmetic-conversion-signs.asm.nocompat.vk.comp.vk | 13 } _4; 17 int _29 = _4.s32; 18 uint _30 = _4.u32; 19 int16_t _31 = _4.s16; 20 uint16_t _32 = _4.u16; 21 float _33 = _4.f32; 22 _4.s32 = int(_31); 23 _4.u32 = uint(_31); 24 _4.s32 = int(int16_t(_32)); 25 _4.u32 = uint(int16_t(_32)); [all …]
|
D | bitscan.asm.comp | 8 } _4; 12 uvec4 _19 = _4.u; 13 ivec4 _20 = _4.i; 14 _4.u = uvec4(findLSB(_19)); 15 _4.i = findLSB(_19); 16 _4.u = uvec4(findLSB(_20)); 17 _4.i = findLSB(_20); 18 _4.u = uvec4(findMSB(_19)); 19 _4.i = findMSB(_19); 20 _4.u = uvec4(findMSB(uvec4(_20))); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/asm/comp/ |
D | glsl-signed-operations.asm.comp | 1 RWByteAddressBuffer _4 : register(u0); 5 int4 _19 = int4(_4.Load4(0)); 6 uint4 _20 = _4.Load4(16); 7 _4.Store4(0, uint4(abs(_19))); 8 _4.Store4(16, uint4(abs(_19))); 9 _4.Store4(0, uint4(abs(int4(_20)))); 10 _4.Store4(16, uint4(abs(int4(_20)))); 11 _4.Store4(0, uint4(sign(_19))); 12 _4.Store4(16, uint4(sign(_19))); 13 _4.Store4(0, uint4(sign(int4(_20)))); [all …]
|
D | bitscan.asm.comp | 1 RWByteAddressBuffer _4 : register(u0); 5 uint4 _19 = _4.Load4(0); 6 int4 _20 = int4(_4.Load4(16)); 7 _4.Store4(0, firstbitlow(_19)); 8 _4.Store4(16, uint4(int4(firstbitlow(_19)))); 9 _4.Store4(0, uint4(firstbitlow(_20))); 10 _4.Store4(16, uint4(firstbitlow(_20))); 11 _4.Store4(0, firstbithigh(_19)); 12 _4.Store4(16, uint4(int4(firstbithigh(_19)))); 13 _4.Store4(0, firstbithigh(uint4(_20))); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/asm/comp/ |
D | arithmetic-conversion-signs.asm.comp | 15 kernel void main0(device SSBO& _4 [[buffer(0)]]) 17 int _29 = _4.s32; 18 uint _30 = _4.u32; 19 short _31 = _4.s16; 20 ushort _32 = _4.u16; 21 float _33 = _4.f32; 22 _4.s32 = int(_31); 23 _4.u32 = uint(_31); 24 _4.s32 = int(short(_32)); 25 _4.u32 = uint(short(_32)); [all …]
|
D | glsl-signed-operations.asm.comp | 36 kernel void main0(device SSBO& _4 [[buffer(0)]]) 38 int4 _19 = _4.ints; 39 uint4 _20 = _4.uints; 40 _4.ints = abs(_19); 41 _4.uints = uint4(abs(_19)); 42 _4.ints = abs(int4(_20)); 43 _4.uints = uint4(abs(int4(_20))); 44 _4.ints = sign(_19); 45 _4.uints = uint4(sign(_19)); 46 _4.ints = sign(int4(_20)); [all …]
|
D | bitscan.asm.comp | 36 kernel void main0(device SSBO& _4 [[buffer(0)]]) 38 uint4 _19 = _4.u; 39 int4 _20 = _4.i; 40 _4.u = spvFindLSB(_19); 41 _4.i = int4(spvFindLSB(_19)); 42 _4.u = uint4(spvFindLSB(_20)); 43 _4.i = spvFindLSB(_20); 44 _4.u = spvFindUMSB(_19); 45 _4.i = int4(spvFindUMSB(_19)); 46 _4.u = spvFindUMSB(uint4(_20)); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/asm/packing/ |
D | load-packed-no-forwarding.asm.comp | 15 kernel void main0(device SSBOScalar& _4 [[buffer(0)]]) 17 float3x3 _20 = transpose(float3x3(float3(_4.b[0]), float3(_4.b[1]), float3(_4.b[2]))); 18 _4.b[0] = float3x3(float3(_4.c[0]), float3(_4.c[1]), float3(_4.c[2]))[0]; 19 _4.b[1] = float3x3(float3(_4.c[0]), float3(_4.c[1]), float3(_4.c[2]))[1]; 20 _4.b[2] = float3x3(float3(_4.c[0]), float3(_4.c[1]), float3(_4.c[2]))[2]; 21 _4.a = _20 * float3(_4.a);
|
D | packed-vector-extract-insert.asm.comp | 14 kernel void main0(device SSBOScalar& _4 [[buffer(0)]]) 16 float3 _24 = _4.b; 18 _4.a = float2(_4.b[0], _4.b[1]) * _4.b[2]; 19 _4.b = _24;
|
D | load-packed-no-forwarding-2.asm.comp | 13 kernel void main0(device SSBOScalar& _4 [[buffer(0)]]) 15 float3x3 _20 = transpose(_4.b); 16 _4.b = _4.c; 17 _4.a = _20 * _4.a;
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/comp/ |
D | quantize.asm.comp | 14 kernel void main0(device SSBO0& _4 [[buffer(0)]]) 16 _4.scalar = float(half(_4.scalar)); 17 _4.vec2_val = float2(half2(_4.vec2_val)); 18 _4.vec3_val = float3(half3(_4.vec3_val)); 19 _4.vec4_val = float4(half4(_4.vec4_val));
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/asm/comp/ |
D | quantize.asm.comp | 14 kernel void main0(device SSBO0& _4 [[buffer(0)]]) 16 _4.scalar = float(half(_4.scalar)); 17 _4.vec2_val = float2(half2(_4.vec2_val)); 18 _4.vec3_val = float3(half3(_4.vec3_val)); 19 _4.vec4_val = float4(half4(_4.vec4_val));
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/frag/ |
D | descriptor-array-unnamed.asm.frag | 6 struct _4 26 … main0(const device _4* _5_0 [[buffer(0)]], const device _4* _5_1 [[buffer(1)]], const device _4* … 28 const device _4* _5[] =
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/asm/frag/ |
D | descriptor-array-unnamed.asm.frag | 6 struct _4 26 … main0(const device _4* _5_0 [[buffer(0)]], const device _4* _5_1 [[buffer(1)]], const device _4* … 28 const device _4* _5[] =
|