Home
last modified time | relevance | path

Searched refs:float3x3 (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/resources/sksl/folding/
DMatrixFoldingES2.sksl23 ok = ok && (float3x3(float3(1.0, 0.0, 0.0), float3(0.0, 1.0, 0.0), float3(0.0, 0.0, 1.0)) ==
24 float3x3(float2x2(1.0)));
25 ok = ok && (float3x3(float3(9.0, 0.0, 0.0), float3(0.0, 9.0, 0.0), float3(0.0, 0.0, 1.0)) ==
26 float3x3(float2x2(9.0)));
27 ok = ok && (float3x3(unknownInput) == float3x3(float2x2(1.0)));
28 ok = ok && (float3x3(float3(9).x00, float3(9).0x0, float3(unknownInput).00x) ==
29 float3x3(float2x2(9.0)));
30 ok = ok && (float2x2(float3x3(1.0)) == float2x2(1.0));
31 ok = ok && (float2x2(float3x3(1.0)) == float2x2(1.0));
/external/skia/resources/sksl/shared/
DResizeMatrix.sksl5 float2x2 a = float2x2(float3x3(1)); result += a[0][0];
7 float3x3 c = float3x3(float4x4(1)); result += c[0][0];
8 float3x3 d = float3x3(float2x2(1)); result += d[0][0];
9 float4x4 e = float4x4(float3x3(float2x2(1))); result += e[0][0];
10 float2x2 f = float2x2(float3x3(float4x4(1))); result += f[0][0];
DResizeMatrixNonsquare.sksl5 float3x3 g = float3x3(float2x3(1)); result += g[0][0];
6 float3x3 h = float3x3(float3x2(1)); result += h[0][0];
DMatrices.sksl4 float3 v1 = float3x3(1) * float3(2);
5 float3 v2 = float3(2) * float3x3(1);
16 float3x3 m9 = float3x3(1);
DFunctionReturnTypeMatch.sksl8 float3x3 returns_float3x3() { return float3x3(3); }
32 float3x3 x6 = returns_float3x3();
/external/skia/tests/sksl/shared/
DResizeMatrix.metal13 float2x2 float2x2_from_float3x3(float3x3 x0) {
19 float3x3 float3x3_from_float4x4(float4x4 x0) {
20 return float3x3(float3(x0[0].xyz), float3(x0[1].xyz), float3(x0[2].xyz));
22 float3x3 float3x3_from_float2x2(float2x2 x0) {
23 return float3x3(float3(x0[0].xy, 0.0), float3(x0[1].xy, 0.0), float3(0.0, 0.0, 1.0));
25 float4x4 float4x4_from_float3x3(float3x3 x0) {
33 float2x2 a = float2x2_from_float3x3(float3x3(1.0));
37 float3x3 c = float3x3_from_float4x4(float4x4(1.0));
39 float3x3 d = float3x3_from_float2x2(float2x2(1.0));
DFunctionReturnTypeMatch.metal20 thread bool operator==(const float3x3 left, const float3x3 right) {
25 thread bool operator!=(const float3x3 left, const float3x3 right) {
50 float3x3 returns_float3x3_f33() {
51 return float3x3(3.0);
71 float3x3 returns_half3x3_h33() {
72 return float3x3(3.0);
109 float3x3 x6 = float3x3(3.0);
116 float3x3 x13 = float3x3(3.0);
DMatrixEquality.metal8 float3x3 testMatrix3x3;
22 thread bool operator==(const float3x3 left, const float3x3 right) {
27 thread bool operator!=(const float3x3 left, const float3x3 right) {
36 …_0_ok = _0_ok && _uniforms.testMatrix3x3 == float3x3(float3(1.0, 2.0, 3.0), float3(4.0, 5.0, 6.0),…
38 …_0_ok = _0_ok && _uniforms.testMatrix3x3 != float3x3(float3(9.0, 8.0, 7.0), float3(6.0, 5.0, 4.0),…
DResizeMatrixNonsquare.metal13 float3x3 float3x3_from_float2x3(float2x3 x0) {
14 return float3x3(float3(x0[0].xyz), float3(x0[1].xyz), float3(0.0, 0.0, 1.0));
16 float3x3 float3x3_from_float3x2(float3x2 x0) {
17 return float3x3(float3(x0[0].xy, 0.0), float3(x0[1].xy, 0.0), float3(x0[2].xy, 1.0));
42 float3x3 g = float3x3_from_float2x3(float2x3(1.0));
44 float3x3 h = float3x3_from_float3x2(float3x2(1.0));
DMatricesNonsquare.metal17 thread float3x3& operator*=(thread float3x3& left, thread const float3x3& right) {
35 float3x3 m33 = m43 * m34;
52 float3x3 _7_m33 = _5_m43 * _3_m34;
DAssignment.metal31 float3x3 f3x3;
32 f3x3 = float3x3(float3(1.0, 2.0, 3.0), float3(4.0, 5.0, 6.0), float3(7.0, 8.0, 9.0));
40 array<float3x3, 1> ah2x4;
41 ah2x4[0] = float3x3(float3(1.0, 2.0, 3.0), float3(4.0, 5.0, 6.0), float3(7.0, 8.0, 9.0));
DOutParams.metal62 void out_half3x3_vh33(Uniforms _uniforms, thread float3x3& v);
63 void _skOutParamHelper8_out_half3x3_vh33(Uniforms _uniforms, thread float3x3& h3x3) {
64 float3x3 _var0;
75 void _skOutParamHelper10_out_half3_vh3(Uniforms _uniforms, thread float3x3& h3x3) {
170 void out_float3x3_vf33(Uniforms _uniforms, thread float3x3& v);
171 void _skOutParamHelper26_out_float3x3_vf33(Uniforms _uniforms, thread float3x3& f3x3) {
172 float3x3 _var0;
240 void out_half3x3_vh33(Uniforms _uniforms, thread float3x3& v) {
241 v = float3x3(_uniforms.colorWhite.y);
273 void out_float3x3_vf33(Uniforms _uniforms, thread float3x3& v) {
[all …]
DOutParamsNoInline.metal62 void out_half3x3_vh33(Uniforms _uniforms, thread float3x3& v);
63 void _skOutParamHelper8_out_half3x3_vh33(Uniforms _uniforms, thread float3x3& h3x3) {
64 float3x3 _var0;
75 void _skOutParamHelper10_out_half3_vh3(Uniforms _uniforms, thread float3x3& h3x3) {
170 void out_float3x3_vf33(Uniforms _uniforms, thread float3x3& v);
171 void _skOutParamHelper26_out_float3x3_vf33(Uniforms _uniforms, thread float3x3& f3x3) {
172 float3x3 _var0;
240 void out_half3x3_vh33(Uniforms _uniforms, thread float3x3& v) {
241 v = float3x3(_uniforms.colorWhite.y);
273 void out_float3x3_vf33(Uniforms _uniforms, thread float3x3& v) {
[all …]
DFunctionArgTypeMatch.metal26 bool takes_float3x3_bf33(float3x3 x) {
47 bool takes_half3x3_bh33(float3x3 x) {
80float3x3(3.0))) && takes_float4x4_bf44(float4x4(4.0))) && takes_half_bh(1.0)) && takes_half2_bh2(f…
/external/deqp-deps/glslang/Test/
Dhlsl.type.type.conversion.all.frag36 float3x3 var104 = float(zeros1);
37 float3x3 var112 = float3x3(zeros9);
53 float var8 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
64 float2x2 var60 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
70 float2x3 var73 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
76 float3x2 var99 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
81 float3x3 var113 = float3x4(zeros12);// warning X3206: implicit truncation of vector type
82 float3x3 var115 = float4x3(zeros12);// warning X3206: implicit truncation of vector type
83 float3x3 var116 = float4x4(zeros16);// warning X3206: implicit truncation of vector type
92 …float2 var21 = float3x3(zeros9);// Compilation failed because: error X3017: cannot implicitly conv…
[all …]
Dhlsl.mul-truncate.frag9 float3x3 m33;
32 float2x3 r30 = mul(m24, m33); // float2x3 = float2x4 * float3x3;
33 float3x4 r31 = mul(m33, m24); // float3x4 = float3x3 * float2x4;
34 float3x2 r32 = mul(m33, m42); // float3x2 = float3x3 * float4x2;
35 float4x3 r33 = mul(m42, m33); // float4x3 = float4x2 * float3x3;
Dhlsl.type.type.conversion.valid.frag36 float3x3 var104 = float(zeros1);
37 float3x3 var112 = float3x3(zeros9);
53 float var8 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
64 float2x2 var60 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
70 float2x3 var73 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
76 float3x2 var99 = float3x3(zeros9);// warning X3206: implicit truncation of vector type
81 float3x3 var113 = float3x4(zeros12);// warning X3206: implicit truncation of vector type
82 float3x3 var115 = float4x3(zeros12);// warning X3206: implicit truncation of vector type
83 float3x3 var116 = float4x4(zeros16);// warning X3206: implicit truncation of vector type
Dhlsl.intrinsics.vert339 float3x3 VertexShaderFunction3x3(float3x3 inF0, float3x3 inF1, float3x3 inF2)
345 return float3x3(3,3,3,3,3,3,3,3,3);
378 float3x3 inFM0, float3x3 inFM1)
380 TESTGENMUL(float, float3, float3x3);
394 float3x3 inFM3x3, float3x4 inFM3x4,
Dhlsl.array.flatten.frag10 uniform float3x3 g_mats[4];
11 uniform float3x3 g_mats_explicit[4] : register(b10);
Dhlsl.matrixSwizzle.vert26 float3x3 createMat3x3(float3 a, float3 b, float3 c)
28 float3x3 m;
/external/skia/tests/sksl/metal/
DCastMat2x2ToMat3x3.metal9 float3x3 float3x3_from_float2x2(float2x2 x0) {
10 return float3x3(float3(x0[0].xy, 0.0), float3(x0[1].xy, 0.0), float3(0.0, 0.0, 1.0));
15 float3x3 a = float3x3(1.0);
16 float3x3 b = float3x3_from_float2x2(float2x2(1.0));
DOutParams.metal97 void out_half3x3_vh33(thread float3x3& v);
98 void _skOutParamHelper13_out_half3x3_vh33(thread float3x3& h3x3) {
99 float3x3 _var0;
110 void _skOutParamHelper15_out_half3_vh3(thread float3x3& h3x3) {
199 void out_float3x3_vf33(thread float3x3& v);
200 void _skOutParamHelper30_out_float3x3_vf33(thread float3x3& f3x3) {
201 float3x3 _var0;
274 void out_half3x3_vh33(thread float3x3& v) {
275 v = float3x3(3.0);
307 void out_float3x3_vf33(thread float3x3& v) {
[all …]
DSwizzleHelper.metal13 …thread Globals& _globals, float _var0, thread float3& b, thread float2& glob, thread float3x3& d) {
37 float3x3 d = float3x3(4.0);
/external/skia/resources/sksl/metal/
DCastMat2x2ToMat3x3.sksl2 float3x3 a = float3x3(1);
3 float3x3 b = float3x3(float2x2(1));
/external/skia/tests/sksl/intrinsics/
DMatrixCompMult.metal10 float3x3 a;
11 float3x3 b;

12