/third_party/skia/third_party/externals/tint/test/expressions/swizzle/read/vec3/ |
D | f32.wgsl.expected.msl | 5 float3 v; 9 float3 v = (*(tint_symbol)).v; 13 float2 xx = float3((*(tint_symbol)).v).xx; 14 float2 xy = float3((*(tint_symbol)).v).xy; 15 float2 xz = float3((*(tint_symbol)).v).xz; 16 float2 yx = float3((*(tint_symbol)).v).yx; 17 float2 yy = float3((*(tint_symbol)).v).yy; 18 float2 yz = float3((*(tint_symbol)).v).yz; 19 float2 zx = float3((*(tint_symbol)).v).zx; 20 float2 zy = float3((*(tint_symbol)).v).zy; [all …]
|
/third_party/skia/third_party/externals/tint/test/expressions/swizzle/read/packed_vec3/ |
D | f32.wgsl.expected.msl | 21 float3 v = (*(tint_symbol)).v; 25 float2 xx = float3((*(tint_symbol)).v).xx; 26 float2 xy = float3((*(tint_symbol)).v).xy; 27 float2 xz = float3((*(tint_symbol)).v).xz; 28 float2 yx = float3((*(tint_symbol)).v).yx; 29 float2 yy = float3((*(tint_symbol)).v).yy; 30 float2 yz = float3((*(tint_symbol)).v).yz; 31 float2 zx = float3((*(tint_symbol)).v).zx; 32 float2 zy = float3((*(tint_symbol)).v).zy; 33 float2 zz = float3((*(tint_symbol)).v).zz; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-ue4/asm/frag/ |
D | global-constant-arrays.asm.frag | 50 float3 InverseGamma; 103 constant float3 _391 = {}; 118 …float3(0.41245639324188232421875, 0.3575761020183563232421875, 0.180437505245208740234375), float3… 119 …float3(1.6410233974456787109375, -0.324803292751312255859375, -0.23642469942569732666015625), floa… 120 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… 121 …float3(3.2409698963165283203125, -1.53738319873809814453125, -0.4986107647418975830078125), float3… 122 …float3(0.952552378177642822265625, 0.0, 9.25), float3(0.3439664542675018310546875, 0.7281661033630… 123 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… 129 …float3(2.493396282196044921875, -0.931345880031585693359375, -0.4026944935321807861328125), float3… 136 …float3(1.71660840511322021484375, -0.3556621074676513671875, -0.253360092639923095703125), float3(… [all …]
|
D | padded-float-array-member-defef.asm.frag | 50 float3 InverseGamma; 65 float3 ColorScale; 104 constant float3 _523 = {}; 105 constant float3 _3265 = {}; 120 …float3(0.41245639324188232421875, 0.3575761020183563232421875, 0.180437505245208740234375), float3… 121 …float3(1.6410233974456787109375, -0.324803292751312255859375, -0.23642469942569732666015625), floa… 122 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… 123 …float3(3.2409698963165283203125, -1.53738319873809814453125, -0.4986107647418975830078125), float3… 124 …float3(0.952552378177642822265625, 0.0, 9.25), float3(0.3439664542675018310546875, 0.7281661033630… 125 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… [all …]
|
D | texture-atomics.asm.frag | 19 constant float3 _70 = {}; 41 float3 _102 = float3(_100.x, _100.y, _70.z); 47 …float3 _121 = float3(0.5) * (CulledObjectBoxBounds._m0[_103].xyz + CulledObjectBoxBounds._m0[_107]… 52 float3 _166 = float3(_122, _123, -1000.0) - _121; 53 …float3 _170 = float3(dot(_166, CulledObjectBoxBounds._m0[_103 + 2u].xyz), dot(_166, CulledObjectBo… 54 float3 _189 = float3(_126, _123, -1000.0) - _121; 55 …float3 _193 = float3(dot(_189, CulledObjectBoxBounds._m0[_103 + 2u].xyz), dot(_189, CulledObjectBo… 56 float3 _205 = float3(_122, _129, -1000.0) - _121; 57 …float3 _209 = float3(dot(_205, CulledObjectBoxBounds._m0[_103 + 2u].xyz), dot(_205, CulledObjectBo… 58 float3 _221 = float3(_126, _129, -1000.0) - _121; [all …]
|
D | texture-atomics.asm.argument.msl2.frag | 27 constant float3 _70 = {}; 49 float3 _102 = float3(_100.x, _100.y, _70.z); 55 …float3 _121 = float3(0.5) * ((*spvDescriptorSet0.CulledObjectBoxBounds)._m0[_103].xyz + (*spvDescr… 60 float3 _166 = float3(_122, _123, -1000.0) - _121; 61 …float3 _170 = float3(dot(_166, (*spvDescriptorSet0.CulledObjectBoxBounds)._m0[_103 + 2u].xyz), dot… 62 float3 _189 = float3(_126, _123, -1000.0) - _121; 63 …float3 _193 = float3(dot(_189, (*spvDescriptorSet0.CulledObjectBoxBounds)._m0[_103 + 2u].xyz), dot… 64 float3 _205 = float3(_122, _129, -1000.0) - _121; 65 …float3 _209 = float3(dot(_205, (*spvDescriptorSet0.CulledObjectBoxBounds)._m0[_103 + 2u].xyz), dot… 66 float3 _221 = float3(_126, _129, -1000.0) - _121; [all …]
|
D | texture-atomics.asm.graphics-robust-access.frag | 19 constant float3 _70 = {}; 42 float3 _102 = float3(_100.x, _100.y, _70.z); 48 …float3 _121 = float3(0.5) * (CulledObjectBoxBounds._m0[uint(clamp(int(_103), int(0u), int(min((((C… 53 float3 _166 = float3(_122, _123, -1000.0) - _121; 54 …float3 _170 = float3(dot(_166, CulledObjectBoxBounds._m0[uint(clamp(int(_103 + 2u), int(0u), int(m… 55 float3 _189 = float3(_126, _123, -1000.0) - _121; 56 …float3 _193 = float3(dot(_189, CulledObjectBoxBounds._m0[uint(clamp(int(_103 + 2u), int(0u), int(m… 57 float3 _205 = float3(_122, _129, -1000.0) - _121; 58 …float3 _209 = float3(dot(_205, CulledObjectBoxBounds._m0[uint(clamp(int(_103 + 2u), int(0u), int(m… 59 float3 _221 = float3(_126, _129, -1000.0) - _121; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-ue4/asm/frag/ |
D | padded-float-array-member-defef.asm.frag | 50 float3 InverseGamma; 65 float3 ColorScale; 104 constant float3 _523 = {}; 105 constant float3 _525 = {}; 120 …float3(0.41245639324188232421875, 0.3575761020183563232421875, 0.180437505245208740234375), float3… 121 …float3(1.6410233974456787109375, -0.324803292751312255859375, -0.23642469942569732666015625), floa… 122 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… 123 …float3(3.2409698963165283203125, -1.53738319873809814453125, -0.4986107647418975830078125), float3… 124 …float3(0.952552378177642822265625, 0.0, 9.25), float3(0.3439664542675018310546875, 0.7281661033630… 125 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… [all …]
|
D | global-constant-arrays.asm.frag | 50 float3 InverseGamma; 103 constant float3 _391 = {}; 118 …float3(0.41245639324188232421875, 0.3575761020183563232421875, 0.180437505245208740234375), float3… 119 …float3(1.6410233974456787109375, -0.324803292751312255859375, -0.23642469942569732666015625), floa… 120 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… 121 …float3(3.2409698963165283203125, -1.53738319873809814453125, -0.4986107647418975830078125), float3… 122 …float3(0.952552378177642822265625, 0.0, 9.25), float3(0.3439664542675018310546875, 0.7281661033630… 123 …float3(0.662454187870025634765625, 0.1340042054653167724609375, 0.1561876833438873291015625), floa… 129 …float3(2.493396282196044921875, -0.931345880031585693359375, -0.4026944935321807861328125), float3… 136 …float3(1.71660840511322021484375, -0.3556621074676513671875, -0.253360092639923095703125), float3(… [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/packing/ |
D | matrix-3x3-scalar.comp | 28 …float3x3 loaded = float3x3(float3(v_29.col_major0[0]), float3(v_29.col_major0[1]), float3(v_29.col… 37 …float3x3 loaded = transpose(float3x3(float3(v_41.row_major0[0]), float3(v_41.row_major0[1]), float… 38 v_41.row_major0[0] = float3(loaded[0][0], loaded[1][0], loaded[2][0]); 39 v_41.row_major0[1] = float3(loaded[0][1], loaded[1][1], loaded[2][1]); 40 v_41.row_major0[2] = float3(loaded[0][2], loaded[1][2], loaded[2][2]); 46 …v_29.col_major0[0] = float3x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 47 …v_29.col_major0[1] = float3x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 48 …v_29.col_major0[2] = float3x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 54 …float3(float3x3(float3(v_29.col_major0[0]), float3(v_29.col_major0[1]), float3(v_29.col_major0[2])… 55 …float3(float3x3(float3(v_29.col_major0[0]), float3(v_29.col_major0[1]), float3(v_29.col_major0[2])… [all …]
|
D | matrix-multiply-unpacked-row-major-2.comp | 20 …1.v0 = float3(_11.v1) * (float3x3(float3(_11.m1[0]), float3(_11.m1[1]), float3(_11.m1[2])) * float… 21 ….v0 = (float3(_11.v1) * float3x3(float3(_11.m1[0]), float3(_11.m1[1]), float3(_11.m1[2]))) * float… 22 …float3x3(float3(_11.m1[0]), float3(_11.m1[1]), float3(_11.m1[2])) * (float3x3(float3(_11.m0[0]), f… 23 …float3x3(float3(_11.m1[0]), float3(_11.m1[1]), float3(_11.m1[2])) * float3x3(float3(_11.m0[0]), fl…
|
D | matrix-multiply-unpacked-col-major-2.comp | 20 …float3x3(float3(_11.m0[0]), float3(_11.m0[1]), float3(_11.m0[2])) * float3x3(float3(_11.m1[0]), fl… 21 …float3x3(float3(_11.m0[0]), float3(_11.m0[1]), float3(_11.m0[2])) * (float3x3(float3(_11.m1[0]), f… 22 ….v0 = (float3(_11.v1) * float3x3(float3(_11.m0[0]), float3(_11.m0[1]), float3(_11.m0[2]))) * float… 23 …1.v0 = float3(_11.v1) * (float3x3(float3(_11.m0[0]), float3(_11.m0[1]), float3(_11.m0[2])) * float…
|
D | matrix-3x4-scalar.comp | 34 …x4 loaded = transpose(float4x3(float3(v_41.row_major0[0]), float3(v_41.row_major0[1]), float3(v_41… 35 v_41.row_major0[0] = float3(loaded[0][0], loaded[1][0], loaded[2][0]); 36 v_41.row_major0[1] = float3(loaded[0][1], loaded[1][1], loaded[2][1]); 37 v_41.row_major0[2] = float3(loaded[0][2], loaded[1][2], loaded[2][2]); 38 v_41.row_major0[3] = float3(loaded[0][3], loaded[1][3], loaded[2][3]); 50 … v_41.row_major0[0] = float3(v_29.col_major0[0][0], v_29.col_major0[1][0], v_29.col_major0[2][0]); 51 … v_41.row_major0[1] = float3(v_29.col_major0[0][1], v_29.col_major0[1][1], v_29.col_major0[2][1]); 52 … v_41.row_major0[2] = float3(v_29.col_major0[0][2], v_29.col_major0[1][2], v_29.col_major0[2][2]); 53 … v_41.row_major0[3] = float3(v_29.col_major0[0][3], v_29.col_major0[1][3], v_29.col_major0[2][3]); 59 …ol_major0 = transpose(float4x3(float3(v_41.row_major0[0]), float3(v_41.row_major0[1]), float3(v_41… [all …]
|
D | matrix-4x3-scalar.comp | 27 …float4x3 loaded = float4x3(float3(v_29.col_major0[0]), float3(v_29.col_major0[1]), float3(v_29.col… 44 …v_29.col_major0[0] = float4x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 45 …v_29.col_major0[1] = float4x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 46 …v_29.col_major0[2] = float4x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 47 …v_29.col_major0[3] = float4x3(float3(v_29.col_major1[0]), float3(v_29.col_major1[1]), float3(v_29.… 53 …ow_major0 = transpose(float4x3(float3(v_29.col_major0[0]), float3(v_29.col_major0[1]), float3(v_29… 59 … v_29.col_major0[0] = float3(v_41.row_major0[0][0], v_41.row_major0[1][0], v_41.row_major0[2][0]); 60 … v_29.col_major0[1] = float3(v_41.row_major0[0][1], v_41.row_major0[1][1], v_41.row_major0[2][1]); 61 … v_29.col_major0[2] = float3(v_41.row_major0[0][2], v_41.row_major0[1][2], v_41.row_major0[2][2]); 62 … v_29.col_major0[3] = float3(v_41.row_major0[0][3], v_41.row_major0[1][3], v_41.row_major0[2][3]); [all …]
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 949.wgsl.expected.hlsl | 2 float3 diffuse; 3 float3 specular; 7 static float3 u_Color = float3(0.0f, 0.0f, 0.0f); 27 float3x3 cotangent_frame_vf3_vf3_vf2_vf2_(inout float3 normal_1, inout float3 p, inout float2 uv, i… 28 float3 dp1 = float3(0.0f, 0.0f, 0.0f); 29 float3 dp2 = float3(0.0f, 0.0f, 0.0f); 32 float3 dp2perp = float3(0.0f, 0.0f, 0.0f); 33 float3 dp1perp = float3(0.0f, 0.0f, 0.0f); 34 float3 tangent = float3(0.0f, 0.0f, 0.0f); 35 float3 bitangent = float3(0.0f, 0.0f, 0.0f); [all …]
|
D | 949.wgsl.expected.msl | 16 float3 diffuse; 17 float3 specular; 54 float3x3 cotangent_frame_vf3_vf3_vf2_vf2_(thread float3* const normal_1, thread float3* const p, th… 55 float3 dp1 = 0.0f; 56 float3 dp2 = 0.0f; 59 float3 dp2perp = 0.0f; 60 float3 dp1perp = 0.0f; 61 float3 tangent = 0.0f; 62 float3 bitangent = 0.0f; 64 float3 const x_133 = *(p); [all …]
|
D | 749.spvasm.expected.hlsl | 19 …const float3 x_523 = float3(float3(1.0f, 2.0f, 3.0f).z, float3(1.0f, 2.0f, 3.0f).y, float3(1.0f, 2… 27 const float3 x_524 = float3(x_523.y, x_523.x, x_523.y); 43 const float3 x_525 = float3(x_523.z, float3(1.0f, 2.0f, 3.0f).x, x_523.y); 55 const float3 x_526 = float3(x_525.x, x_525.z, x_525.z); 68 const float3 x_528 = float3(x_524.x, x_524.z, x_524.x); 75 const float3 x_529 = float3(x_526.y, x_526.z, x_526.x); 91 const float3 x_531 = float3(x_527.x, x_526.y, x_526.x); 100 const float3 x_532 = float3(x_528.x, x_528.y, x_528.x); 117 float3 x_538 = float3(0.0f, 0.0f, 0.0f); 133 …const float3 x_534 = float3(float3(1.0f, 2.0f, 3.0f).z, float3(1.0f, 2.0f, 3.0f).x, float3(1.0f, 2… [all …]
|
D | 749.spvasm.expected.msl | 25 …float3 const x_523 = float3(float3(1.0f, 2.0f, 3.0f)[2], float3(1.0f, 2.0f, 3.0f)[1], float3(1.0f,… 33 float3 const x_524 = float3(x_523[1], x_523[0], x_523[1]); 49 float3 const x_525 = float3(x_523[2], float3(1.0f, 2.0f, 3.0f)[0], x_523[1]); 61 float3 const x_526 = float3(x_525[0], x_525[2], x_525[2]); 74 float3 const x_528 = float3(x_524[0], x_524[2], x_524[0]); 81 float3 const x_529 = float3(x_526[1], x_526[2], x_526[0]); 97 float3 const x_531 = float3(x_527[0], x_526[1], x_526[0]); 106 float3 const x_532 = float3(x_528[0], x_528[1], x_528[0]); 123 float3 x_538 = 0.0f; 139 …float3 const x_534 = float3(float3(1.0f, 2.0f, 3.0f)[2], float3(1.0f, 2.0f, 3.0f)[0], float3(1.0f,… [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-ue4-no-opt/asm/frag/ |
D | accesschain-invalid-expression.asm.invalid.frag | 198 constant float3 _136 = {}; 201 constant float3 _139 = {}; 219 float3 _179 = in.in_var_TEXCOORD8.xyz - float3(View.View_PreViewTranslation); 220 float3 _181 = normalize(-in.in_var_TEXCOORD8.xyz); 223 …float3 _206 = normalize(float3x3(float3(1.0, 0.0, 0.0), float3(0.0, 1.0, 0.0), float3(0.0, 0.0, 1.… 236 …float3 _270 = (fast::clamp(float3(mix(_219, 1.0 - _219, mix(_229, 1.0, _228)) * (mix(0.29499998688… 237 …float3 _275 = float3(((fast::min(_258 * _258, exp2((-9.27999973297119140625) * fast::max(_208, 0.0… 265 float3 _320 = _139; 267 float3 _326 = _320; 269 float3 _332 = _326; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/frag/ |
D | vector-shuffle-oom.asm.frag | 20 float3 _m0; 86 float3 _m36; 97 float3 _m4; 99 float3 _m6; 104 float3 _m11; 106 float3 _m13; 108 float3 _m15; 110 float3 _m17; 112 float3 _m19; 135 float2 _97 = fast::clamp(_82 + (float3(0.0, -2.0, 0.5).xy * _7._m0.xy), _88.xy, _88.zw); [all …]
|
/third_party/glslang/Test/ |
D | hlsl.samplegrad.basic.dx10.vert | 38 …float4 txval30 = g_tTex3df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 39 …int4 txval31 = g_tTex3di4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 40 …uint4 txval32 = g_tTex3du4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl… 42 …float4 txval40 = g_tTexcdf4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 43 …int4 txval41 = g_tTexcdi4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 44 …uint4 txval42 = g_tTexcdu4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl…
|
D | hlsl.samplegrad.basic.dx10.frag | 39 …float4 txval30 = g_tTex3df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 40 …int4 txval31 = g_tTex3di4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 41 …uint4 txval32 = g_tTex3du4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl… 43 …float4 txval40 = g_tTexcdf4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 44 …int4 txval41 = g_tTexcdi4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 45 …uint4 txval42 = g_tTexcdu4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl…
|
D | hlsl.init2.frag | 26 const float3 a[8] = { 27 normalize(float3(1, 1, 1)) * (n += step), 28 normalize(float3(-1, -1, -1)) * (n += step), 29 normalize(float3(-1, -1, 1)) * (n += step), 30 normalize(float3(-1, 1, -1)) * (n += step), 31 normalize(float3(-1, 1, 1)) * (n += step), 32 normalize(float3(1, -1, -1)) * (n += step), 33 normalize(float3(1, -1, 1)) * (n += step), 34 normalize(float3(1, 1, -1)) * (n += step) }; 36 const struct one { float3 a; } oneNonConst = { normalize(float3(-1, 1, 1)) * (n += step) }; [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/asm/packing/ |
D | load-packed-no-forwarding.asm.comp | 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);
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-ue4/asm/vert/ |
D | texture-buffer.asm.vert | 298 …float3 _158 = float3x3(Primitive.Primitive_LocalToWorld[0].xyz, Primitive.Primitive_LocalToWorld[1… 299 float3 _160 = normalize(_158 + float3(0.0, 0.0, 9.9999997473787516355514526367188e-05)); 301 …float3 _239 = float4((((Primitive.Primitive_LocalToWorld[0u].xyz * _137.xxx) + (Primitive.Primitiv… 302 float3 _242 = float3(EmitterUniforms.EmitterUniforms_RemoveHMDRoll); 303 …float3 _251 = mix(mix(float3(View.View_ViewRight), float3(View.View_HMDViewNoRollRight), _242), Em… 304 …float3 _259 = mix(-mix(float3(View.View_ViewUp), float3(View.View_HMDViewNoRollUp), _242), Emitter… 305 float3 _260 = float3(View.View_TranslatedWorldCameraOrigin) - _239; 307 float3 _265 = _260 / float3(sqrt(fast::max(_261, 0.00999999977648258209228515625))); 308 float3 _335; 309 float3 _336; [all …]
|