Home
last modified time | relevance | path

Searched refs:determinant (Results 1 – 25 of 142) sorted by relevance

123456

/third_party/skia/src/core/
DSkMatrixInvert.cpp19 double determinant = a00 * a11 - a01 * a10; in SkInvert2x2Matrix() local
21 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert2x2Matrix()
29 determinant = 0.0f; in SkInvert2x2Matrix()
32 return determinant; in SkInvert2x2Matrix()
51 double determinant = a00 * b01 + a01 * b11 + a02 * b21; in SkInvert3x3Matrix() local
53 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert3x3Matrix()
66 determinant = 0.0f; in SkInvert3x3Matrix()
69 return determinant; in SkInvert3x3Matrix()
104 double determinant = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06; in SkInvert4x4Matrix() local
106 double invdet = sk_ieee_double_divide(1.0, determinant); in SkInvert4x4Matrix()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/comp/
Dinverse.comp24 // Returns the determinant of a 2x2 matrix.
31 // Returns the determinant of a 3x3 matrix.
39 // adjoint and dividing by the determinant. The contents of the matrix are changed.
43 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
66 // Calculate the determinant as a combination of the cofactors of the first row.
69 // Divide the classical adjoint matrix by the determinant.
70 // If determinant is zero, matrix is not invertable, so leave it unchanged.
75 // adjoint and dividing by the determinant. The contents of the matrix are changed.
79 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
94 // Calculate the determinant as a combination of the cofactors of the first row.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/comp/
Dinverse.comp7 // adjoint and dividing by the determinant. The contents of the matrix are changed.
10 float2x2 adj; // The adjoint matrix (inverse after dividing by determinant)
19 // Calculate the determinant as a combination of the cofactors of the first row.
22 // Divide the classical adjoint matrix by the determinant.
23 // If determinant is zero, matrix is not invertable, so leave it unchanged.
27 // Returns the determinant of a 2x2 matrix.
34 // adjoint and dividing by the determinant. The contents of the matrix are changed.
37 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
52 // Calculate the determinant as a combination of the cofactors of the first row.
55 // Divide the classical adjoint matrix by the determinant.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/comp/
Dinverse.comp7 // adjoint and dividing by the determinant. The contents of the matrix are changed.
10 float2x2 adj; // The adjoint matrix (inverse after dividing by determinant)
19 // Calculate the determinant as a combination of the cofactors of the first row.
22 // Divide the classical adjoint matrix by the determinant.
23 // If determinant is zero, matrix is not invertable, so leave it unchanged.
27 // Returns the determinant of a 2x2 matrix.
34 // adjoint and dividing by the determinant. The contents of the matrix are changed.
37 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
52 // Calculate the determinant as a combination of the cofactors of the first row.
55 // Divide the classical adjoint matrix by the determinant.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/comp/
Dinverse.comp24 // Returns the determinant of a 2x2 matrix.
31 // Returns the determinant of a 3x3 matrix.
39 // adjoint and dividing by the determinant. The contents of the matrix are changed.
43 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
66 // Calculate the determinant as a combination of the cofactors of the first row.
69 // Divide the classical adjoint matrix by the determinant.
70 // If determinant is zero, matrix is not invertable, so leave it unchanged.
75 // adjoint and dividing by the determinant. The contents of the matrix are changed.
79 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
94 // Calculate the determinant as a combination of the cofactors of the first row.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/comp/
Dglsl.std450.fxconly.comp73 // adjoint and dividing by the determinant. The contents of the matrix are changed.
76 float2x2 adj; // The adjoint matrix (inverse after dividing by determinant)
85 // Calculate the determinant as a combination of the cofactors of the first row.
88 // Divide the classical adjoint matrix by the determinant.
89 // If determinant is zero, matrix is not invertable, so leave it unchanged.
93 // Returns the determinant of a 2x2 matrix.
100 // adjoint and dividing by the determinant. The contents of the matrix are changed.
103 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
118 // Calculate the determinant as a combination of the cofactors of the first row.
121 // Divide the classical adjoint matrix by the determinant.
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/comp/
Dglsl.std450.comp72 // Returns the determinant of a 2x2 matrix.
79 // Returns the determinant of a 3x3 matrix.
87 // adjoint and dividing by the determinant. The contents of the matrix are changed.
91 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
114 // Calculate the determinant as a combination of the cofactors of the first row.
117 // Divide the classical adjoint matrix by the determinant.
118 // If determinant is zero, matrix is not invertable, so leave it unchanged.
123 // adjoint and dividing by the determinant. The contents of the matrix are changed.
127 float3x3 adj; // The adjoint matrix (inverse after dividing by determinant)
142 // Calculate the determinant as a combination of the cofactors of the first row.
[all …]
/third_party/skia/resources/sksl/intrinsics/
DDeterminant.sksl5 return (determinant(testMatrix2x2) == -2 &&
6 determinant(half3x3(1, 2, 3, 4, 5, 6, 7, 8, 10)) == -3 &&
7 determinant(float4x4(1, 2, 3, 4, 5, 7, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17)) == -16)
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dfunctions.vert61 // Returns the determinant of a 2x2 matrix.
68 // Returns the determinant of a 3x3 matrix.
76 // adjoint and dividing by the determinant. The contents of the matrix are changed.
80 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
103 // Calculate the determinant as a combination of the cofactors of the first row.
106 // Divide the classical adjoint matrix by the determinant.
107 // If determinant is zero, matrix is not invertable, so leave it unchanged.
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dfunctions.vert61 // Returns the determinant of a 2x2 matrix.
68 // Returns the determinant of a 3x3 matrix.
76 // adjoint and dividing by the determinant. The contents of the matrix are changed.
80 float4x4 adj; // The adjoint matrix (inverse after dividing by determinant)
103 // Calculate the determinant as a combination of the cofactors of the first row.
106 // Divide the classical adjoint matrix by the determinant.
107 // If determinant is zero, matrix is not invertable, so leave it unchanged.
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/determinant/
De19305.wgsl.expected.glsl5 float res = determinant(mat2(0.0f, 0.0f, 0.0f, 0.0f));
35 float res = determinant(mat2(0.0f, 0.0f, 0.0f, 0.0f));
55 float res = determinant(mat2(0.0f, 0.0f, 0.0f, 0.0f));
D2b62ba.wgsl.expected.glsl5 float res = determinant(mat3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
35 float res = determinant(mat3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
55 float res = determinant(mat3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
Da0a87c.wgsl.expected.glsl5 …float res = determinant(mat4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0…
35 …float res = determinant(mat4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0…
55 …float res = determinant(mat4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0…
De19305.wgsl26 // fn determinant(mat<2, 2, f32>) -> f32
28 var res: f32 = determinant(mat2x2<f32>());
D2b62ba.wgsl26 // fn determinant(mat<3, 3, f32>) -> f32
28 var res: f32 = determinant(mat3x3<f32>());
Da0a87c.wgsl26 // fn determinant(mat<4, 4, f32>) -> f32
28 var res: f32 = determinant(mat4x4<f32>());
De19305.wgsl.expected.wgsl2 var res : f32 = determinant(mat2x2<f32>());
/third_party/skia/third_party/externals/angle2/src/common/
Dmatrix_utils.h176 T determinant() const in determinant() function
236 return at(0, 0) * Matrix<T>(minorMatrices[0], 3).determinant() - in determinant()
237 at(0, 1) * Matrix<T>(minorMatrices[1], 3).determinant() + in determinant()
238 at(0, 2) * Matrix<T>(minorMatrices[2], 3).determinant() - in determinant()
239 at(0, 3) * Matrix<T>(minorMatrices[3], 3).determinant(); in determinant()
335 T det = determinant(); in inverse()
/third_party/vk-gl-cts/framework/common/
DtcuMatrix.hpp132 T determinant (const Matrix<T, Size, Size>& mat) in determinant() function
167 using matrix::determinant; in doDeterminant()
193 return + mat(0,0) * determinant(Matrix<T, 3, 3>(minorMatrices[0])) in doDeterminant()
194 - mat(0,1) * determinant(Matrix<T, 3, 3>(minorMatrices[1])) in doDeterminant()
195 + mat(0,2) * determinant(Matrix<T, 3, 3>(minorMatrices[2])) in doDeterminant()
196 - mat(0,3) * determinant(Matrix<T, 3, 3>(minorMatrices[3])); in doDeterminant()
202 using matrix::determinant; in doInverse()
204 const T det = determinant(mat); in doInverse()
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/comp/
Dglsl.std450.fxconly.comp76 res = determinant(m2);
77 res = determinant(m3);
78 res = determinant(m4);
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/comp/
Dglsl.std450.comp76 res = determinant(m2);
77 res = determinant(m3);
78 res = determinant(m4);
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/comp/
Dglsl.std450.comp76 res = determinant(m2);
77 res = determinant(m3);
78 res = determinant(m4);
/third_party/glslang/Test/
Dhlsl.intrinsics.negative.frag10 determinant(inF0); // expected error: only valid on mats
51 determinant(inF0); // expected error: only valid on mats
67 determinant(inF0); // expected error: only valid on mats
84 determinant(inF0); // expected error: only valid on mats
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderVertexOrdering.cpp609 float determinant = 0.0f; in verifyVertexOrderingCorrectness() local
615 determinant += (cartesian_vertex_data[n_vertex * 2 /* components */ + 0] * in verifyVertexOrderingCorrectness()
621 determinant *= 0.5f; in verifyVertexOrderingCorrectness()
626 determinant < 0.0f) || in verifyVertexOrderingCorrectness()
627 … (test_iteration.vertex_ordering == TESSELLATION_SHADER_VERTEX_ORDERING_CW && determinant >= 0.0f)) in verifyVertexOrderingCorrectness()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/comp/
Dglsl.std450.comp70 _19.res = determinant(_19.m2);
71 _19.res = determinant(_19.m3);
72 _19.res = determinant(_19.m4);

123456