/third_party/skia/third_party/externals/tint/test/expressions/swizzle/read/packed_vec3/ |
D | f32.wgsl.expected.hlsl | 11 float3 v = asfloat(U[0].xyz); 12 float x = asfloat(U[0].x); 13 float y = asfloat(U[0].y); 14 float z = asfloat(U[0].z); 15 float2 xx = asfloat(U[0].xyz).xx; 16 float2 xy = asfloat(U[0].xyz).xy; 17 float2 xz = asfloat(U[0].xyz).xz; 18 float2 yx = asfloat(U[0].xyz).yx; 19 float2 yy = asfloat(U[0].xyz).yy; 20 float2 yz = asfloat(U[0].xyz).yz; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/asm/comp/ |
D | nmin-max-clamp.asm.comp | 5 …nt(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48))) ? asfloat(_4.… 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))); 14 …loat3 _154 = float3(_151.x ? asfloat(_4.Load3(112)).x : _153.x, _151.y ? asfloat(_4.Load3(112)).y … [all …]
|
D | control-flow-hints.asm.comp | 6 bar.Store4(0, asuint(asfloat(foo.Load4(0)))); 7 bar.Store4(16, asuint(asfloat(foo.Load4(16)))); 8 bar.Store4(32, asuint(asfloat(foo.Load4(32)))); 9 bar.Store4(48, asuint(asfloat(foo.Load4(48)))); 10 bar.Store4(64, asuint(asfloat(foo.Load4(64)))); 11 bar.Store4(80, asuint(asfloat(foo.Load4(80)))); 12 bar.Store4(96, asuint(asfloat(foo.Load4(96)))); 13 bar.Store4(112, asuint(asfloat(foo.Load4(112)))); 14 bar.Store4(128, asuint(asfloat(foo.Load4(128)))); 15 bar.Store4(144, asuint(asfloat(foo.Load4(144)))); [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/asm/comp/ |
D | nmin-max-clamp.asm.comp | 5 …nt(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48))) ? asfloat(_4.… 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))); 14 …loat3 _153 = float3(_150.x ? asfloat(_4.Load3(112)).x : _152.x, _150.y ? asfloat(_4.Load3(112)).y … [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/comp/ |
D | outer-product.comp | 8 …float2x2 _32 = float2x2(asfloat(_26.Load2(0)) * asfloat(_26.Load2(0)).x, asfloat(_26.Load2(0)) * a… 11 …float2x3 _41 = float2x3(asfloat(_26.Load3(16)) * asfloat(_26.Load2(0)).x, asfloat(_26.Load3(16)) *… 14 …float2x4 _50 = float2x4(asfloat(_26.Load4(32)) * asfloat(_26.Load2(0)).x, asfloat(_26.Load4(32)) *… 17 …= float3x2(asfloat(_26.Load2(0)) * asfloat(_26.Load3(16)).x, asfloat(_26.Load2(0)) * asfloat(_26.L… 21 …float3x3(asfloat(_26.Load3(16)) * asfloat(_26.Load3(16)).x, asfloat(_26.Load3(16)) * asfloat(_26.L… 25 …float3x4(asfloat(_26.Load4(32)) * asfloat(_26.Load3(16)).x, asfloat(_26.Load4(32)) * asfloat(_26.L… 29 …asfloat(_26.Load2(0)) * asfloat(_26.Load4(32)).x, asfloat(_26.Load2(0)) * asfloat(_26.Load4(32)).y… 34 …asfloat(_26.Load3(16)) * asfloat(_26.Load4(32)).x, asfloat(_26.Load3(16)) * asfloat(_26.Load4(32))… 39 …asfloat(_26.Load4(32)) * asfloat(_26.Load4(32)).x, asfloat(_26.Load4(32)) * asfloat(_26.Load4(32))…
|
D | rwbuffer-matrix.comp | 13 …float4x4 _55 = asfloat(uint4x4(_28.Load(64), _28.Load(80), _28.Load(96), _28.Load(112), _28.Load(6… 18 float2x2 _58 = asfloat(uint2x2(_28.Load(144), _28.Load(152), _28.Load(148), _28.Load(156))); 21 …float2x3 _61 = asfloat(uint2x3(_28.Load(192), _28.Load(200), _28.Load(208), _28.Load(196), _28.Loa… 24 …float3x2 _64 = asfloat(uint3x2(_28.Load(240), _28.Load(256), _28.Load(244), _28.Load(260), _28.Loa… 32 float4x4 _34 = asfloat(uint4x4(_28.Load4(0), _28.Load4(16), _28.Load4(32), _28.Load4(48))); 49 float2x2 _40 = asfloat(uint2x2(_28.Load2(128), _28.Load2(136))); 54 float2x3 _46 = asfloat(uint2x3(_28.Load3(160), _28.Load3(176))); 61 float3x2 _52 = asfloat(uint3x2(_28.Load2(216), _28.Load2(224), _28.Load2(232))); 103 float a0 = asfloat(_28.Load(_68_index0 * 4 + _68_index1 * 16 + 64)); 104 float a1 = asfloat(_28.Load(_68_index0 * 4 + _68_index1 * 8 + 144)); [all …]
|
D | rmw-matrix.comp | 7 _11.Store(0, asuint(asfloat(_11.Load(0)) * asfloat(_11.Load(96)))); 8 _11.Store4(16, asuint(asfloat(_11.Load4(16)) * asfloat(_11.Load4(112)))); 9 float4x4 _35 = asfloat(uint4x4(_11.Load4(128), _11.Load4(144), _11.Load4(160), _11.Load4(176))); 10 float4x4 _37 = asfloat(uint4x4(_11.Load4(32), _11.Load4(48), _11.Load4(64), _11.Load4(80)));
|
D | scalar-std450-distance-length-normalize.comp | 7 _9.Store(8, asuint(distance(asfloat(_9.Load(0)), asfloat(_9.Load(4))))); 8 _9.Store(12, asuint(length(asfloat(_9.Load(0))))); 9 _9.Store(16, asuint(sign(asfloat(_9.Load(0)))));
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/comp/ |
D | outer-product.comp | 8 …float2x2 _32 = float2x2(asfloat(_26.Load2(0)) * asfloat(_26.Load2(0)).x, asfloat(_26.Load2(0)) * a… 11 …float2x3 _41 = float2x3(asfloat(_26.Load3(16)) * asfloat(_26.Load2(0)).x, asfloat(_26.Load3(16)) *… 14 …float2x4 _50 = float2x4(asfloat(_26.Load4(32)) * asfloat(_26.Load2(0)).x, asfloat(_26.Load4(32)) *… 17 …= float3x2(asfloat(_26.Load2(0)) * asfloat(_26.Load3(16)).x, asfloat(_26.Load2(0)) * asfloat(_26.L… 21 …float3x3(asfloat(_26.Load3(16)) * asfloat(_26.Load3(16)).x, asfloat(_26.Load3(16)) * asfloat(_26.L… 25 …float3x4(asfloat(_26.Load4(32)) * asfloat(_26.Load3(16)).x, asfloat(_26.Load4(32)) * asfloat(_26.L… 29 …asfloat(_26.Load2(0)) * asfloat(_26.Load4(32)).x, asfloat(_26.Load2(0)) * asfloat(_26.Load4(32)).y… 34 …asfloat(_26.Load3(16)) * asfloat(_26.Load4(32)).x, asfloat(_26.Load3(16)) * asfloat(_26.Load4(32))… 39 …asfloat(_26.Load4(32)) * asfloat(_26.Load4(32)).x, asfloat(_26.Load4(32)) * asfloat(_26.Load4(32))…
|
D | rmw-matrix.comp | 7 _11.Store(0, asuint(asfloat(_11.Load(0)) * asfloat(_11.Load(96)))); 8 _11.Store4(16, asuint(asfloat(_11.Load4(16)) * asfloat(_11.Load4(112)))); 9 float4x4 _35 = asfloat(uint4x4(_11.Load4(128), _11.Load4(144), _11.Load4(160), _11.Load4(176))); 10 float4x4 _37 = asfloat(uint4x4(_11.Load4(32), _11.Load4(48), _11.Load4(64), _11.Load4(80)));
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/comp/ |
D | glsl.std450.fxconly.comp | 194 _19.Store(0, asuint(round(asfloat(_19.Load(16))))); 195 _19.Store(0, asuint(trunc(asfloat(_19.Load(16))))); 196 _19.Store(0, asuint(abs(asfloat(_19.Load(16))))); 198 _19.Store(0, asuint(sign(asfloat(_19.Load(16))))); 200 _19.Store(0, asuint(floor(asfloat(_19.Load(16))))); 201 _19.Store(0, asuint(ceil(asfloat(_19.Load(16))))); 202 _19.Store(0, asuint(frac(asfloat(_19.Load(16))))); 203 _19.Store(0, asuint(radians(asfloat(_19.Load(16))))); 204 _19.Store(0, asuint(degrees(asfloat(_19.Load(16))))); 205 _19.Store(0, asuint(sin(asfloat(_19.Load(16))))); [all …]
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/ |
D | 0-opt.wgsl.expected.hlsl | 26 const float x_51 = asfloat(x_7[3].x); 27 const float x_53 = asfloat(x_7[2].x); 28 const float x_55 = asfloat(x_7[4].x); 32 const float x_59 = asfloat(x_9[0].x); 34 const float x_62 = asfloat(x_7[scalar_offset / 4][scalar_offset % 4]); 36 const float x_65 = asfloat(x_9[0].x); 38 const float x_67 = asfloat(x_7[scalar_offset_1 / 4][scalar_offset_1 % 4]); 40 const float2 x_73 = asfloat(x_9[0].xy); 43 const float2 x_75 = asfloat(x_12[0].xy); 49 const float x_79 = asfloat(x_7[scalar_offset_2 / 4][scalar_offset_2 % 4]); [all …]
|
D | 0-opt.spvasm.expected.hlsl | 26 const float x_51 = asfloat(x_7[3].x); 27 const float x_53 = asfloat(x_7[2].x); 28 const float x_55 = asfloat(x_7[4].x); 32 const float x_59 = asfloat(x_9[0].x); 34 const float x_62 = asfloat(x_7[scalar_offset / 4][scalar_offset % 4]); 36 const float x_65 = asfloat(x_9[0].x); 38 const float x_67 = asfloat(x_7[scalar_offset_1 / 4][scalar_offset_1 % 4]); 40 const float2 x_73 = asfloat(x_9[0].xy); 43 const float2 x_75 = asfloat(x_12[0].xy); 49 const float x_79 = asfloat(x_7[scalar_offset_2 / 4][scalar_offset_2 % 4]); [all …]
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/ |
D | 0-opt.wgsl.expected.hlsl | 17 const float x_38 = asfloat(x_5[scalar_offset / 4][scalar_offset % 4]); 19 const float x_41 = asfloat(x_7[0].x); 21 const float x_43 = asfloat(x_5[scalar_offset_1 / 4][scalar_offset_1 % 4]); 24 const float x_53 = asfloat(x_5[1].x); 50 const float x_73 = asfloat(x_5[1].x); 52 const float x_75 = asfloat(x_5[scalar_offset_3 / 4][scalar_offset_3 % 4]); 54 const float x_77 = asfloat(x_5[scalar_offset_4 / 4][scalar_offset_4 % 4]); 55 const float x_79 = asfloat(x_5[1].x); 64 const float x_82 = asfloat(x_7[0].x); 66 const float x_84 = asfloat(x_5[scalar_offset_5 / 4][scalar_offset_5 % 4]);
|
D | 0-opt.spvasm.expected.hlsl | 17 const float x_38 = asfloat(x_5[scalar_offset / 4][scalar_offset % 4]); 19 const float x_41 = asfloat(x_7[0].x); 21 const float x_43 = asfloat(x_5[scalar_offset_1 / 4][scalar_offset_1 % 4]); 24 const float x_53 = asfloat(x_5[1].x); 50 const float x_73 = asfloat(x_5[1].x); 52 const float x_75 = asfloat(x_5[scalar_offset_3 / 4][scalar_offset_3 % 4]); 54 const float x_77 = asfloat(x_5[scalar_offset_4 / 4][scalar_offset_4 % 4]); 55 const float x_79 = asfloat(x_5[1].x); 64 const float x_82 = asfloat(x_7[0].x); 66 const float x_84 = asfloat(x_5[scalar_offset_5 / 4][scalar_offset_5 % 4]);
|
/third_party/skia/third_party/externals/tint/test/bug/chromium/ |
D | 1273230.wgsl.expected.hlsl | 69 float3 bbMin = float3(asfloat(uniforms[1].x), asfloat(uniforms[1].y), asfloat(uniforms[1].z)); 70 float3 bbMax = float3(asfloat(uniforms[2].x), asfloat(uniforms[2].y), asfloat(uniforms[2].z)); 74 float gx = ((cubeSize * (position.x - asfloat(uniforms[1].x))) / cubeSize); 75 float gy = ((gx * (position.y - asfloat(uniforms[1].y))) / gridSize); 76 float gz = ((gridSize * (position.z - asfloat(uniforms[1].z))) / gridSize); 93 …tion = float3(asfloat(positions.Load((4u * ((3u * vertexIndex) + 0u)))), asfloat(positions.Load((4… 102 float rb5 = asfloat(positions.Load((4u * uint(0))));
|
/third_party/skia/third_party/externals/tint/test/samples/ |
D | compute_boids.wgsl.expected.hlsl | 53 float2 vPos = asfloat(particlesA.Load2((16u * index))); 54 float2 vVel = asfloat(particlesA.Load2(((16u * index) + 8u))); 67 pos = asfloat(particlesA.Load2((16u * i))).xy; 68 vel = asfloat(particlesA.Load2(((16u * i) + 8u))).xy; 69 if ((distance(pos, vPos) < asfloat(params[0].y))) { 73 if ((distance(pos, vPos) < asfloat(params[0].z))) { 76 if ((distance(pos, vPos) < asfloat(params[0].w))) { 88 …vVel = (((vVel + (cMass * asfloat(params[1].x))) + (colVel * asfloat(params[1].y))) + (cVel * asfl… 90 vPos = (vPos + (vVel * asfloat(params[0].x)));
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 1121.wgsl.expected.hlsl | 28 …return float4x4(asfloat(buffer[scalar_offset / 4]), asfloat(buffer[scalar_offset_1 / 4]), asfloat(… 36 …lightsBuffer.Store(((32u * index) + 4u), asuint(((asfloat(lightsBuffer.Load(((32u * index) + 4u)))… 37 if ((asfloat(lightsBuffer.Load(((32u * index) + 4u))) < asfloat(uniforms[0].y))) { 38 lightsBuffer.Store(((32u * index) + 4u), asuint(asfloat(uniforms[1].y))); 43 float4 lightPos = asfloat(lightsBuffer.Load4((32u * index))); 46 float lightRadius = asfloat(lightsBuffer.Load(((32u * index) + 28u))); 59 …float2 floorCoord = (((2.0f * float2(tilePixel0Idx)) / asfloat(uniforms[10]).xy) - float2((1.0f).x… 60 …float2 ceilCoord = (((2.0f * float2((tilePixel0Idx + int2((TILE_SIZE).xx)))) / asfloat(uniforms[10…
|
D | 1113.wgsl.expected.hlsl | 40 float3 bbMin = float3(asfloat(uniforms[1].x), asfloat(uniforms[1].y), asfloat(uniforms[1].z)); 41 float3 bbMax = float3(asfloat(uniforms[2].x), asfloat(uniforms[2].y), asfloat(uniforms[2].z)); 45 float gx = ((gridSize * (position.x - asfloat(uniforms[1].x))) / cubeSize); 46 float gy = ((gridSize * (position.y - asfloat(uniforms[1].y))) / cubeSize); 47 float gz = ((gridSize * (position.z - asfloat(uniforms[1].z))) / cubeSize); 64 …tion = float3(asfloat(positions.Load((4u * ((3u * vertexIndex) + 0u)))), asfloat(positions.Load((4… 73 float rb5 = asfloat(positions.Load((4u * uint(0))));
|
D | 1088.spvasm.expected.hlsl | 15 …return float4x4(asfloat(buffer[scalar_offset / 4]), asfloat(buffer[scalar_offset_1 / 4]), asfloat(… 27 const float x_41 = asfloat(x_14[scalar_offset_4 / 4][scalar_offset_4 % 4]); 29 const float x_49 = asfloat(x_14[4].x); 32 const float x_57 = asfloat(x_14[4].x);
|
/third_party/skia/third_party/externals/tint/test/buffer/storage/dynamic_index/ |
D | read.wgsl.expected.hlsl | 8 return float2x3(asfloat(buffer.Load3((offset + 0u))), asfloat(buffer.Load3((offset + 16u)))); 12 …return float3x2(asfloat(buffer.Load2((offset + 0u))), asfloat(buffer.Load2((offset + 8u))), asfloa… 31 const float3 e = asfloat(s.Load3(((176u * idx) + 32u))); 32 const float f = asfloat(s.Load(((176u * idx) + 44u)));
|
/third_party/skia/third_party/externals/tint/test/buffer/storage/static_index/ |
D | read.wgsl.expected.hlsl | 11 return float2x3(asfloat(buffer.Load3((offset + 0u))), asfloat(buffer.Load3((offset + 16u)))); 15 …return float3x2(asfloat(buffer.Load2((offset + 0u))), asfloat(buffer.Load2((offset + 8u))), asfloa… 40 const float3 e = asfloat(s.Load3(32u)); 41 const float f = asfloat(s.Load(44u));
|
/third_party/skia/third_party/externals/tint/test/buffer/uniform/static_index/ |
D | read.wgsl.expected.hlsl | 15 return float2x3(asfloat(buffer[scalar_offset / 4].xyz), asfloat(buffer[scalar_offset_1 / 4].xyz)); 25 …float3x2(asfloat(((scalar_offset_2 & 2) ? ubo_load.zw : ubo_load.xy)), asfloat(((scalar_offset_3 &… 51 const float3 e = asfloat(s[2].xyz); 52 const float f = asfloat(s[2].w);
|
/third_party/skia/third_party/externals/tint/test/expressions/binary/mul/vec3-mat4x3/ |
D | f32.wgsl.expected.hlsl | 10 …n float4x3(asfloat(buffer[scalar_offset / 4].xyz), asfloat(buffer[scalar_offset_1 / 4].xyz), asflo… 14 const float4 x = mul(tint_symbol_3(data, 0u), asfloat(data[4].xyz));
|
/third_party/skia/third_party/externals/tint/test/buffer/uniform/dynamic_index/ |
D | read.wgsl.expected.hlsl | 12 return float2x3(asfloat(buffer[scalar_offset / 4].xyz), asfloat(buffer[scalar_offset_1 / 4].xyz)); 22 …float3x2(asfloat(((scalar_offset_2 & 2) ? ubo_load.zw : ubo_load.xy)), asfloat(((scalar_offset_3 &… 47 const float3 e = asfloat(s[scalar_offset_10 / 4].xyz); 49 const float f = asfloat(s[scalar_offset_11 / 4][scalar_offset_11 % 4]);
|