Home
last modified time | relevance | path

Searched refs:Mat3 (Results 1 – 25 of 83) sorted by relevance

1234

/external/rust/crates/glam/src/f32/
Dmat3.rs15 pub const fn mat3(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Mat3 { in mat3() argument
16 Mat3::from_cols(x_axis, y_axis, z_axis) in mat3()
45 pub struct Mat3 { struct
51 impl Mat3 { impl
552 impl Default for Mat3 { implementation
559 impl Add<Mat3> for Mat3 { implementation
567 impl AddAssign<Mat3> for Mat3 { implementation
574 impl Sub<Mat3> for Mat3 { implementation
582 impl SubAssign<Mat3> for Mat3 { implementation
589 impl Neg for Mat3 { implementation
[all …]
Daffine2.rs3 use crate::{Mat2, Mat3, Mat3A, Vec2, Vec3A};
191 pub fn from_mat3(m: Mat3) -> Self { in from_mat3()
342 impl From<Affine2> for Mat3 { implementation
344 fn from(m: Affine2) -> Mat3 { in from() argument
353 impl Mul<Mat3> for Affine2 {
354 type Output = Mat3;
357 fn mul(self, rhs: Mat3) -> Self::Output { in mul()
358 Mat3::from(self) * rhs in mul()
362 impl Mul<Affine2> for Mat3 { implementation
363 type Output = Mat3;
[all …]
Daffine3a.rs3 use crate::{Mat3, Mat3A, Mat4, Quat, Vec3, Vec3A};
186 pub fn from_mat3(mat3: Mat3) -> Self { in from_mat3()
199 pub fn from_mat3_translation(mat3: Mat3, translation: Vec3) -> Self { in from_mat3_translation() argument
281 let rotation = Quat::from_mat3(&Mat3::from_cols( in to_scale_rotation_translation()
/external/deqp/modules/gles3/performance/
Des3pTextureFilteringTests.cpp78 …tcu::Mat3 minTransform = tcu::translationMatrix(tcu::Vec2(-0.3f, -0.6f)) * tcu::Mat3(tcu::Vec3(1.7… in init()
79 …tcu::Mat3 magTransform = tcu::translationMatrix(tcu::Vec2( 0.3f, 0.4f)) * tcu::Mat3(tcu::Vec3(0.3… in init()
Des3pTextureCases.hpp50 const tcu::Mat3& coordTransform,
67 const tcu::Mat3 m_coordTransform;
/external/rust/crates/glam/src/features/
Dimpl_bytemuck.rs2 DMat2, DMat3, DMat4, DQuat, DVec2, DVec3, DVec4, IVec2, IVec3, IVec4, Mat2, Mat3, Mat4, Quat,
9 unsafe impl Pod for Mat3 {} implementation
10 unsafe impl Zeroable for Mat3 {} implementation
58 DMat2, DMat3, DMat4, DQuat, DVec2, DVec3, DVec4, IVec2, IVec3, IVec4, Mat2, Mat3, Mat4,
76 test_t!(mat3, Mat3);
Dimpl_rkyv.rs63 use crate::{Affine2, Affine3A, Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4};
68 impl_rkyv!(Mat3);
140 use crate::{Affine2, Affine3A, Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4}; in test_rkyv()
146 test_archive(&Mat3::from_cols_array(&[ in test_rkyv()
Dimpl_approx.rs3 Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4,
135 impl_approx_as_ref!(f32, Mat3);
199 impl_approx_test!(f32, Mat3, Mat3::from_cols_slice(&ONESF32)); in test_approx()
/external/deqp/modules/gles2/performance/
Des2pTextureFilteringTests.cpp77 …tcu::Mat3 minTransform = tcu::translationMatrix(tcu::Vec2(-0.3f, -0.6f)) * tcu::Mat3(tcu::Vec3(1.7… in init()
78 …tcu::Mat3 magTransform = tcu::translationMatrix(tcu::Vec2( 0.3f, 0.4f)) * tcu::Mat3(tcu::Vec3(0.3… in init()
Des2pTextureCases.hpp46 const tcu::Mat3& coordTransform,
63 tcu::Mat3 m_coordTransform;
/external/rust/crates/glam/benches/
Dsupport.rs3 use glam::{Mat2, Mat3, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A, Vec4};
101 pub fn random_mat3(rng: &mut PCG32) -> Mat3 { in random_mat3() argument
102 Mat3::from_cols(random_vec3(rng), random_vec3(rng), random_vec3(rng)) in random_mat3()
105 pub fn random_srt_mat3(rng: &mut PCG32) -> Mat3 { in random_srt_mat3() argument
106 Mat3::from_scale_angle_translation( in random_srt_mat3()
Dmat3.rs7 use glam::Mat3;
25 bench_from_ypr!(mat3_from_ypr, "mat3 from ypr", ty => Mat3);
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp48 using tcu::Mat3;
206 static Vec4 calculateLodDerivateParts(const Mat3& transformation) in calculateLodDerivateParts()
255 vector<Mat3> m_transformations;
352 Mat3 transformation = in MultiTexShader()
353 Mat3(tempOffsetData) * in MultiTexShader()
354 Mat3(translationTransfData) * in MultiTexShader()
355 Mat3(rotTransfData) * in MultiTexShader()
356 Mat3(scaleTransfData) * in MultiTexShader()
357 Mat3(xShearTransfData) * in MultiTexShader()
358 Mat3(yShearTransfData) * in MultiTexShader()
[all …]
/external/deqp-deps/glslang/Test/
Dspv.matFun.vert15 mat3 Mat3(mat4 m)
22 return v * Mat3(m4);
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.matFun.vert15 mat3 Mat3(mat4 m)
22 return v * Mat3(m4);
/external/rust/crates/glam/tests/
Dmat3.rs379 use glam::{mat3, swizzles::*, vec3, vec3a, Mat2, Mat3, Mat4, Quat, Vec2, Vec3, Vec3A};
383 assert_eq!(36, mem::size_of::<Mat3>());
384 assert_eq!(mem::align_of::<Vec3>(), mem::align_of::<Mat3>());
388 let mat_a = Mat3::from_axis_angle(Vec3::Z, deg(90.0));
397 Mat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]).as_dmat3()
400 Mat3::from_cols_array(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]),
405 impl_mat3_tests!(f32, mat3, Mat3, Mat2, Mat4, Quat, vec3, Vec3, Vec2);
406 impl_as_ref_tests!(Mat3);
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp51 using tcu::Mat3;
201 Mat3 transform;
203 TexTypeCoordParams (const Mat3& transform_) : transform(transform_) {} in TexTypeCoordParams()
209 Mat3 transform;
211 TexTypeCoordParams (const Mat3& transform_) : transform(transform_) {} in TexTypeCoordParams()
1145 float calculateLod (const Mat3& transf, const Vec2& dstSize, int textureNdx) const;
1288 float Vertex2DArrayTextureCase::calculateLod (const Mat3& transf, const Vec2& dstSize, int textureN… in calculateLod()
1356 const Mat3 texMinTransf = Mat3(layerShearTransfData) * Mat3(texMinTransfData); in iterate()
1357 const Mat3 texMagTransf = Mat3(layerShearTransfData) * Mat3(texMagTransfData); in iterate()
1367 const Mat3 texTransform; in iterate()
[all …]
Des3fTextureUnitTests.cpp50 using tcu::Mat3;
185 static Mat4 matExtend3To4 (const Mat3& mat) in matExtend3To4()
460 Mat4 transformation = matExtend3To4(Mat3(tempOffsetData) * in MultiTexShader()
461 Mat3(translationTransfData) * in MultiTexShader()
462 Mat3(rotTransfData) * in MultiTexShader()
463 Mat3(scaleTransfData) * in MultiTexShader()
464 Mat3(xShearTransfData) * in MultiTexShader()
465 Mat3(yShearTransfData) * in MultiTexShader()
466 (Mat3(tempOffsetData) * (-1.0f))); in MultiTexShader()
490 Mat3 planarTrans (planarTransData); // Planar, face-agnostic transformation. in MultiTexShader()
[all …]
/external/rust/crates/glam/
DCHANGELOG.md287 * Removed `From<Mat3>` implementation for `Mat2` and `From<DMat3>` for `DMat2`.
289 * Removed `From<Mat4>` implementation for `Mat3` and `From<DMat4>` for `DMat3`.
290 These have been replaced by `Mat3::from_mat4()` and `DMat3::from_mat4()`.
304 * Added `Mat2::from_mat3()`, `DMat2::from_mat3()`, `Mat3::from_mat4()`,
307 * Added `Mat3::from_mat2()`, `DMat3::from_mat2()`, `Mat4::from_mat3()` and
380 `Quat::from_euler()`, `Mat3::from_euler()` and `Mat4::from_euler()` which
387 contains internal padding but it generally faster than `Mat3` for most
393 efficient than using `Mat3` and `DMat3` respectively when working with 2D
402 * Deprecated `Quat::from_rotation_ypr()`, `Mat3::from_rotation_ypr()` and
464 * Added `IDENTITY` constants for `Mat2`, `Mat3`, `Mat4` and `Quat`.
[all …]
/external/rust/crates/glam/src/
Df32.rs60 pub use mat3::{mat3, Mat3};
102 core::mem::align_of::<super::Mat3>()
104 const_assert_eq!(36, core::mem::size_of::<super::Mat3>());
/external/deqp-deps/glslang/Test/baseResults/
Dspv.matFun.vert.out15 Name 21 "Mat3(mf44;"
119 21(Mat3(mf44;): 8 Function None 19
154 67: 8 FunctionCall 21(Mat3(mf44;) 65(param)
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.matFun.vert.out15 Name 21 "Mat3(mf44;"
119 21(Mat3(mf44;): 8 Function None 19
154 67: 8 FunctionCall 21(Mat3(mf44;) 65(param)
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryDirectionTests.cpp156 tcu::Mat3 getScaleMatrix (float scaleFactor) in getScaleMatrix()
164 return tcu::Mat3(scaleDirectionMatrixData); in getScaleMatrix()
168 tcu::Mat3 getRotationMatrix (float rotationX, float rotationY) in getRotationMatrix()
182 const tcu::Mat3 rotationMatrixX (rotationMatrixDataX); in getRotationMatrix()
190 const tcu::Mat3 rotationMatrixY (rotationMatrixDataY); in getRotationMatrix()
196 VkTransformMatrixKHR toTransformMatrixKHR (const tcu::Mat3& mat3) in toTransformMatrixKHR()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDirectionTests.cpp156 tcu::Mat3 getScaleMatrix (float scaleFactor) in getScaleMatrix()
164 return tcu::Mat3(scaleDirectionMatrixData); in getScaleMatrix()
168 tcu::Mat3 getRotationMatrix (float rotationX, float rotationY) in getRotationMatrix()
182 const tcu::Mat3 rotationMatrixX (rotationMatrixDataX); in getRotationMatrix()
190 const tcu::Mat3 rotationMatrixY (rotationMatrixDataY); in getRotationMatrix()
196 VkTransformMatrixKHR toTransformMatrixKHR (const tcu::Mat3& mat3) in toTransformMatrixKHR()
/external/deqp/modules/gles3/scripts/
Dgen-swizzles.py211 inMat3 = [Mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0),
212 Mat3(6.5, 12.5, -0.75, 32.0, 1.0/32.0, 1.0/64.0, 1.0/8.0, 1.0/16.0, 1.0/32.0),

1234