Home
last modified time | relevance | path

Searched refs:mats (Results 1 – 25 of 41) sorted by relevance

12

/external/skqp/tests/
DDashPathEffectTest.cpp70 SkMatrix mats[kNumMats]; in DEF_TEST() local
71 mats[0].reset(); in DEF_TEST()
72 mats[1].setRotate(90, 0.5f, 0.5f); in DEF_TEST()
73 mats[2].setTranslate(10.0f, 10.0f); in DEF_TEST()
84 bool actualResult = dash->asPoints(&results, src, rec, mats[i], &cull); in DEF_TEST()
DMatrixTest.cpp246 SkMatrix mats[2*SK_ARRAY_COUNT(baseMats)]; in test_matrix_min_max_scale() local
248 mats[i] = baseMats[i]; in test_matrix_min_max_scale()
249 bool invertible = mats[i].invert(&mats[i + SK_ARRAY_COUNT(baseMats)]); in test_matrix_min_max_scale()
257 int x = rand.nextU() % SK_ARRAY_COUNT(mats); in test_matrix_min_max_scale()
258 mat.postConcat(mats[x]); in test_matrix_min_max_scale()
710 SkMatrix mats[kMatrixCount]; in test_matrix_homogeneous() local
713 mats[i].set(j, rand.nextRangeF(-3000.f, 3000.f)); in test_matrix_homogeneous()
740 mats[i].mapHomogeneousPoints(&dst, &zeros, 1); in test_matrix_homogeneous()
747 mats[0].mapHomogeneousPoints(nullptr, nullptr, 0); in test_matrix_homogeneous()
799 mats[i].mapHomogeneousPoints(&dst, &randTriples[j], 1); in test_matrix_homogeneous()
[all …]
/external/skia/tests/
DDashPathEffectTest.cpp70 SkMatrix mats[kNumMats]; in DEF_TEST() local
71 mats[0].reset(); in DEF_TEST()
72 mats[1].setRotate(90, 0.5f, 0.5f); in DEF_TEST()
73 mats[2].setTranslate(10.0f, 10.0f); in DEF_TEST()
84 bool actualResult = dash->asPoints(&results, src, rec, mats[i], &cull); in DEF_TEST()
DMatrixTest.cpp253 SkMatrix mats[2*SK_ARRAY_COUNT(baseMats)]; in test_matrix_min_max_scale() local
255 mats[i] = baseMats[i]; in test_matrix_min_max_scale()
256 bool invertible = mats[i].invert(&mats[i + SK_ARRAY_COUNT(baseMats)]); in test_matrix_min_max_scale()
264 int x = rand.nextU() % SK_ARRAY_COUNT(mats); in test_matrix_min_max_scale()
265 mat.postConcat(mats[x]); in test_matrix_min_max_scale()
675 SkMatrix mats[kMatrixCount]; in test_matrix_homogeneous() local
678 mats[i].set(j, rand.nextRangeF(-3000.f, 3000.f)); in test_matrix_homogeneous()
705 mats[i].mapHomogeneousPoints(&dst, &zeros, 1); in test_matrix_homogeneous()
712 mats[0].mapHomogeneousPoints(nullptr, (const SkPoint3*)nullptr, 0); in test_matrix_homogeneous()
764 mats[i].mapHomogeneousPoints(&dst, &randTriples[j], 1); in test_matrix_homogeneous()
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.intrinsics.negative.frag10 determinant(inF0); // expected error: only valid on mats
30 transpose(inF0); // expected error: only valid on mats
51 determinant(inF0); // expected error: only valid on mats
57 transpose(inF0); // expected error: only valid on mats
67 determinant(inF0); // expected error: only valid on mats
73 transpose(inF0); // expected error: only valid on mats
84 determinant(inF0); // expected error: only valid on mats
90 transpose(inF0); // expected error: only valid on mats
Dremap.hlsl.templatetypes.everything.frag42 // TODO: bool mats
43 // TODO: int mats
Dhlsl.templatetypes.frag42 // TODO: bool mats
43 // TODO: int mats
Dremap.hlsl.templatetypes.none.frag42 // TODO: bool mats
43 // TODO: int mats
Dhlsl.intrinsics.negative.comp19 // determinant(inF0); // expected error: only valid on mats
49 // transpose(inF0); // expect error: only valid on mats
80 // determinant(inF0); // expect error: only valid on mats
105 // transpose(inF0); // expect error: only valid on mats
125 … // determinant(inF0); // expect error: only valid on mats
150 … // transpose(inF0); // expect error: only valid on mats
164 … // determinant(inF0); // expect error: only valid on mats
195 … // transpose(inF0); // expect error: only valid on mats
Dhlsl.matType.int.frag24 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
68 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
Dhlsl.intrinsics.negative.vert35 // determinant(inF0); // expected error: only valid on mats
67 // transpose(inF0); // expect error: only valid on mats
98 … // determinant(inF0); // expect error: only valid on mats
123 … // transpose(inF0); // expect error: only valid on mats
143 … // determinant(inF0); // expect error: only valid on mats
168 … // transpose(inF0); // expect error: only valid on mats
182 … // determinant(inF0); // expect error: only valid on mats
213 … // transpose(inF0); // expect error: only valid on mats
Dhlsl.matType.bool.frag24 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
Dhlsl.intrinsics.vert277 // TODO: for mats:
390 // Test some non-square mats
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.intrinsics.negative.frag10 determinant(inF0); // expected error: only valid on mats
30 transpose(inF0); // expected error: only valid on mats
51 determinant(inF0); // expected error: only valid on mats
57 transpose(inF0); // expected error: only valid on mats
67 determinant(inF0); // expected error: only valid on mats
73 transpose(inF0); // expected error: only valid on mats
84 determinant(inF0); // expected error: only valid on mats
90 transpose(inF0); // expected error: only valid on mats
Dhlsl.templatetypes.frag42 // TODO: bool mats
43 // TODO: int mats
Dremap.hlsl.templatetypes.none.frag42 // TODO: bool mats
43 // TODO: int mats
Dremap.hlsl.templatetypes.everything.frag42 // TODO: bool mats
43 // TODO: int mats
Dhlsl.intrinsics.negative.comp19 // determinant(inF0); // expected error: only valid on mats
49 // transpose(inF0); // expect error: only valid on mats
76 // determinant(inF0); // expect error: only valid on mats
101 // transpose(inF0); // expect error: only valid on mats
119 … // determinant(inF0); // expect error: only valid on mats
144 … // transpose(inF0); // expect error: only valid on mats
156 … // determinant(inF0); // expect error: only valid on mats
187 … // transpose(inF0); // expect error: only valid on mats
Dhlsl.matType.int.frag24 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
68 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
Dhlsl.intrinsics.negative.vert35 // determinant(inF0); // expected error: only valid on mats
67 // transpose(inF0); // expect error: only valid on mats
98 … // determinant(inF0); // expect error: only valid on mats
123 … // transpose(inF0); // expect error: only valid on mats
143 … // determinant(inF0); // expect error: only valid on mats
168 … // transpose(inF0); // expect error: only valid on mats
182 … // determinant(inF0); // expect error: only valid on mats
213 … // transpose(inF0); // expect error: only valid on mats
Dhlsl.matType.bool.frag24 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
Dhlsl.intrinsics.vert277 // TODO: for mats:
390 // Test some non-square mats
/external/skia/src/shaders/
DSkComposeShader.cpp148 const SkMatrixProvider& mats, const SkMatrix* localM, in program_or_paint() argument
151 return sh ? as_SB(sh)->program(p, device,local, paint, mats,localM, dst, uniforms,alloc) in program_or_paint()
157 const SkMatrixProvider& mats, const SkMatrix* localM, in onProgram() argument
161 if ((d = program_or_paint(fDst, p, device,local, paint, mats,localM, dst, uniforms,alloc)) && in onProgram()
162 (s = program_or_paint(fSrc, p, device,local, paint, mats,localM, dst, uniforms,alloc))) in onProgram()
/external/tensorflow/tensorflow/python/kernel_tests/linalg/sparse/
Dcsr_sparse_matrix_grad_test.py68 mats = math_ops.cast(mats_val, dtype=dtypes.float32)
69 sparse_mats = dense_to_csr_sparse_matrix(mats)
73 grad_out = gradients_impl.gradients([dense_mats], [mats],
Dcsr_sparse_matrix_ops_test.py255 mats = [
259 csr_mats = [list(map(sparse.csr_matrix, mat)) for mat in mats]
260 mats_t = [ops.convert_to_tensor(mat) for mat in mats]
386 mats = [
390 csr_mats = [[sparse.csr_matrix(m) for m in mat] for mat in mats]
391 mats_t = [ops.convert_to_tensor(mat) for mat in mats]
427 for (mat, sm_rt_value) in zip(mats, sm_rt_values):
872 mats = sparsify(
876 expected = np.transpose(mats)
879 matrices = math_ops.cast(mats, dtype)
[all …]

12