Home
last modified time | relevance | path

Searched refs:Vec3 (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/external/rust/crates/glam/src/swizzles/
Dvec_traits.rs4 type Vec3; typedef
19 fn xxx(self) -> Self::Vec3; in xxx() argument
21 fn xxy(self) -> Self::Vec3; in xxy() argument
23 fn xyx(self) -> Self::Vec3; in xyx() argument
25 fn xyy(self) -> Self::Vec3; in xyy() argument
27 fn yxx(self) -> Self::Vec3; in yxx() argument
29 fn yxy(self) -> Self::Vec3; in yxy() argument
31 fn yyx(self) -> Self::Vec3; in yyx() argument
33 fn yyy(self) -> Self::Vec3; in yyy() argument
314 type Vec3; typedef
[all …]
Dvec3_impl.rs3 use crate::{Vec2, Vec3, Vec3Swizzles, Vec4};
5 impl Vec3Swizzles for Vec3 { implementation
83 fn xxx(self) -> Vec3 { in xxx() argument
84 Vec3 { in xxx()
92 fn xxy(self) -> Vec3 { in xxy() argument
93 Vec3 { in xxy()
101 fn xxz(self) -> Vec3 { in xxz() argument
102 Vec3 { in xxz()
110 fn xyx(self) -> Vec3 { in xyx() argument
111 Vec3 { in xyx()
[all …]
Dvec2_impl.rs3 use crate::{Vec2, Vec2Swizzles, Vec3, Vec4};
6 type Vec3 = Vec3; typedef
43 fn xxx(self) -> Vec3 { in xxx() argument
44 Vec3 { in xxx()
52 fn xxy(self) -> Vec3 { in xxy() argument
53 Vec3 { in xxy()
61 fn xyx(self) -> Vec3 { in xyx() argument
62 Vec3 { in xyx()
70 fn xyy(self) -> Vec3 { in xyy() argument
71 Vec3 { in xyy()
[all …]
/external/rust/crates/glam/src/swizzles/sse2/
Dvec4_impl.rs5 use crate::{Vec2, Vec3, Vec4, Vec4Swizzles};
15 type Vec3 = Vec3; typedef
146 fn xxx(self) -> Vec3 { in xxx() argument
147 Vec3 { in xxx()
155 fn xxy(self) -> Vec3 { in xxy() argument
156 Vec3 { in xxy()
164 fn xxz(self) -> Vec3 { in xxz() argument
165 Vec3 { in xxz()
173 fn xxw(self) -> Vec3 { in xxw() argument
174 Vec3 { in xxw()
[all …]
/external/rust/crates/glam/src/swizzles/wasm32/
Dvec4_impl.rs5 use crate::{Vec2, Vec3, Vec4, Vec4Swizzles};
12 type Vec3 = Vec3; typedef
143 fn xxx(self) -> Vec3 { in xxx() argument
144 Vec3 { in xxx()
152 fn xxy(self) -> Vec3 { in xxy() argument
153 Vec3 { in xxy()
161 fn xxz(self) -> Vec3 { in xxz() argument
162 Vec3 { in xxz()
170 fn xxw(self) -> Vec3 { in xxw() argument
171 Vec3 { in xxw()
[all …]
/external/rust/crates/glam/src/swizzles/coresimd/
Dvec4_impl.rs5 use crate::{Vec2, Vec3, Vec4, Vec4Swizzles};
12 type Vec3 = Vec3; typedef
143 fn xxx(self) -> Vec3 { in xxx() argument
144 Vec3 { in xxx()
152 fn xxy(self) -> Vec3 { in xxy() argument
153 Vec3 { in xxy()
161 fn xxz(self) -> Vec3 { in xxz() argument
162 Vec3 { in xxz()
170 fn xxw(self) -> Vec3 { in xxw() argument
171 Vec3 { in xxw()
[all …]
/external/rust/crates/glam/src/f32/
Dmat3.rs3 use crate::{swizzles::*, DMat3, EulerRot, Mat2, Mat3A, Mat4, Quat, Vec2, Vec3, Vec3A};
15 pub const fn mat3(x_axis: Vec3, y_axis: Vec3, z_axis: Vec3) -> Mat3 { in mat3() argument
46 pub x_axis: Vec3,
47 pub y_axis: Vec3,
48 pub z_axis: Vec3,
53 pub const ZERO: Self = Self::from_cols(Vec3::ZERO, Vec3::ZERO, Vec3::ZERO);
56 pub const IDENTITY: Self = Self::from_cols(Vec3::X, Vec3::Y, Vec3::Z);
59 pub const NAN: Self = Self::from_cols(Vec3::NAN, Vec3::NAN, Vec3::NAN);
75 x_axis: Vec3::new(m00, m01, m02), in new()
76 y_axis: Vec3::new(m10, m11, m12), in new()
[all …]
Dvec3.rs16 pub const fn vec3(x: f32, y: f32, z: f32) -> Vec3 { in vec3() argument
17 Vec3::new(x, y, z) in vec3()
24 pub struct Vec3 { struct
30 impl Vec3 { implementation
740 impl Default for Vec3 { implementation
747 impl Div<Vec3> for Vec3 { implementation
759 impl DivAssign<Vec3> for Vec3 { implementation
768 impl Div<f32> for Vec3 { implementation
780 impl DivAssign<f32> for Vec3 { implementation
789 impl Div<Vec3> for f32 {
[all …]
Daffine3a.rs3 use crate::{Mat3, Mat3A, Mat4, Quat, Vec3, Vec3A};
118 pub fn from_scale(scale: Vec3) -> Self { in from_scale()
136 pub fn from_axis_angle(axis: Vec3, angle: f32) -> Self { in from_axis_angle() argument
175 pub fn from_translation(translation: Vec3) -> Self { in from_translation()
199 pub fn from_mat3_translation(mat3: Mat3, translation: Vec3) -> Self { in from_mat3_translation()
213 pub fn from_scale_rotation_translation(scale: Vec3, rotation: Quat, translation: Vec3) -> Self { in from_scale_rotation_translation() argument
230 pub fn from_rotation_translation(rotation: Quat, translation: Vec3) -> Self { in from_rotation_translation()
262 pub fn to_scale_rotation_translation(&self) -> (Vec3, Quat, Vec3) { in to_scale_rotation_translation() argument
270 let scale = Vec3::new( in to_scale_rotation_translation()
276 glam_assert!(scale.cmpne(Vec3::ZERO).all()); in to_scale_rotation_translation()
[all …]
/external/rust/crates/glam/benches/
Dvec3.rs7 use glam::Vec3;
20 fn vec3_to_rgb_op(v: Vec3) -> u32 { in vec3_to_rgb_op()
21 let (red, green, blue) = (v.min(Vec3::ONE).max(Vec3::ZERO) * 255.0).into(); in vec3_to_rgb_op()
26 fn vec3_fields(v: Vec3) -> [f32; 3] { in vec3_fields()
31 fn vec3_into_array(v: Vec3) -> [f32; 3] { in vec3_into_array()
36 fn vec3_into_tuple(v: Vec3) -> (f32, f32, f32) { in vec3_into_tuple()
71 fn vec3_normalize(v: Vec3) -> Vec3 { in vec3_normalize() argument
83 fn vec3_normalize_or_zero(v: Vec3) -> Vec3 { in vec3_normalize_or_zero() argument
97 fn vec3_any_orthogonal_vector(v: Vec3) -> Vec3 { in vec3_any_orthogonal_vector() argument
109 fn vec3_any_orthonormal_vector(v: Vec3) -> Vec3 { in vec3_any_orthonormal_vector() argument
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp45 using tcu::Vec3;
59 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate()
64 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference()
69Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2… in renderReference()
70Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[2*3+1]), Vec3(coords[3*3+1], coords[2… in renderReference()
71Vec3 triB[2] = { Vec3(coords[0*3+2], coords[1*3+2], coords[2*3+2]), Vec3(coords[3*3+2], coords[2… in renderReference()
72 tcu::Vec3 triW[2] = { wCoord.swizzle(0, 1, 2), wCoord.swizzle(3, 2, 1) }; in renderReference()
101 … name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVa…
108 tcu::Vec3 m_min;
109 tcu::Vec3 m_max;
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp47 using tcu::Vec3;
61 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, floa… in projectedTriInterpolate()
66 …rfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) in renderReference()
71Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2… in renderReference()
72Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[2*3+1]), Vec3(coords[3*3+1], coords[2… in renderReference()
73Vec3 triB[2] = { Vec3(coords[0*3+2], coords[1*3+2], coords[2*3+2]), Vec3(coords[3*3+2], coords[2… in renderReference()
74 tcu::Vec3 triW[2] = { wCoord.swizzle(0, 1, 2), wCoord.swizzle(3, 2, 1) }; in renderReference()
103 … name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVa…
110 tcu::Vec3 m_min;
111 tcu::Vec3 m_max;
[all …]
/external/rust/crates/glam/src/swizzles/scalar/
Dvec4_impl.rs3 use crate::{Vec2, Vec3, Vec4, Vec4Swizzles};
8 type Vec3 = Vec3; typedef
139 fn xxx(self) -> Vec3 { in xxx() argument
140 Vec3 { in xxx()
148 fn xxy(self) -> Vec3 { in xxy() argument
149 Vec3 { in xxy()
157 fn xxz(self) -> Vec3 { in xxz() argument
158 Vec3 { in xxz()
166 fn xxw(self) -> Vec3 { in xxw() argument
167 Vec3 { in xxw()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp47 using tcu::Vec3;
128 tcu::Vec3 minDX;
129 tcu::Vec3 maxDX;
130 tcu::Vec3 minDY;
131 tcu::Vec3 maxDY;
164 const tcu::Vec3& minDX_, in TextureLookupSpec()
165 const tcu::Vec3& maxDX_, in TextureLookupSpec()
166 const tcu::Vec3& minDY_, in TextureLookupSpec()
167 const tcu::Vec3& maxDY_, in TextureLookupSpec()
824 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in ShaderTextureFunctionInstance()
[all …]
/external/llvm/test/CodeGen/ARM/
D2009-11-30-LiveVariablesBug.ll6 …c" = type { %"lsm", %"Vec3", %"av"*, float, i8, float, %"lsm", i8, %"Vec3", %"Vec3", %"Vec3", floa…
7 %"lsm" = type { %"als", %"Vec3", %"Vec3", %"Vec3", %"Vec3" }
8 %"Vec3" = type { float, float, float }
10 define arm_aapcs_vfpcc void @foo(%"c"* %this, %"Vec3"* nocapture %adjustment) {
24 %0 = call arm_aapcs_vfpcc %"Vec3" undef(%"lsm"* undef) ; <%"Vec3"> [#uses=1]
25 %mrv_gr69 = extractvalue %"Vec3" %0, 1 ; <float> [#uses=1]
/external/flatbuffers/samples/rust_generated/my_game/sample/
Dvec_3_generated.rs15 pub struct Vec3(pub [u8; 12]); struct
16 impl Default for Vec3 { implementation
21 impl core::fmt::Debug for Vec3 { implementation
31 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
32 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
33 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
34 type Inner = &'a Vec3;
37 <&'a Vec3>::follow(buf, loc) in follow()
40 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
41 type Inner = &'a Vec3;
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderTextureFunctionTests.cpp118 tcu::Vec3 minDX;
119 tcu::Vec3 maxDX;
120 tcu::Vec3 minDY;
121 tcu::Vec3 maxDY;
148 const tcu::Vec3& minDX_, in TextureLookupSpec()
149 const tcu::Vec3& maxDX_, in TextureLookupSpec()
150 const tcu::Vec3& minDY_, in TextureLookupSpec()
151 const tcu::Vec3& maxDY_, in TextureLookupSpec()
237 using tcu::Vec3;
527 Vec3 sx = m_lookupSpec.maxDX-m_lookupSpec.minDX; in init()
[all …]
Des3fFboStencilbufferTests.cpp41 using tcu::Vec3;
112 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, … in render()
115 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(+1.0f, +1.0f, +… in render()
124 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(+0.5f, +0.5f, 0.… in render()
130 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.… in render()
209 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, … in render()
212 …sglr::drawQuad(*getCurrentContext(), gradShaderID, Vec3(-1.0f, -1.0f, -1.0f), Vec3(+1.0f, +1.0f, +… in render()
221 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-0.5f, -0.5f, 0.0f), Vec3(+0.5f, +0.5f, 0.… in render()
227 …sglr::drawQuad(*getCurrentContext(), flatShaderID, Vec3(-1.0f, -1.0f, 0.0f), Vec3(+1.0f, +1.0f, 0.… in render()
/external/deqp/modules/glshared/
DglsLongStressTestUtil.cpp31 using tcu::Vec3;
128 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferContext()
163 …context.attributes.push_back(gls::VarSpec("a_position", Vec3(-positionFactor), Vec3(position… in generateTextureContext()
232 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferAndTextureContext()
385 context.attributes.push_back(gls::VarSpec("a_normal${NS}", Vec3(-1.0f), Vec3(1.0f))); in generateFragmentPointLightContext()
388 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.ambientColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext()
390 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.emissiveColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext()
391 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.specularColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext()
394 context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].color", Vec3(0.0f), Vec3(1.0f))); in generateFragmentPointLightContext()
396 …context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].direction", Vec3(-1.0f), Vec3(1.0f)… in generateFragmentPointLightContext()
[all …]
/external/flatbuffers/tests/monster_test/my_game/example/
Dvec_3_generated.rs15 pub struct Vec3(pub [u8; 32]); struct
16 impl Default for Vec3 { implementation
21 impl core::fmt::Debug for Vec3 { implementation
34 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
35 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
36 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
37 type Inner = &'a Vec3;
40 <&'a Vec3>::follow(buf, loc) in follow()
43 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
44 type Inner = &'a Vec3;
[all …]
/external/flatbuffers/tests/MyGame/Example/
DVec3.go22 func (rcv *Vec3) UnPackTo(t *Vec3T) {
31 func (rcv *Vec3) UnPack() *Vec3T {
38 type Vec3 struct { struct
42 func (rcv *Vec3) Init(buf []byte, i flatbuffers.UOffsetT) { argument
47 func (rcv *Vec3) Table() flatbuffers.Table { argument
51 func (rcv *Vec3) X() float32 { argument
54 func (rcv *Vec3) MutateX(n float32) bool { argument
58 func (rcv *Vec3) Y() float32 { argument
61 func (rcv *Vec3) MutateY(n float32) bool { argument
65 func (rcv *Vec3) Z() float32 { argument
[all …]
/external/flatbuffers/tests/monster_test_serialize/my_game/example/
Dvec_3_generated.rs17 pub struct Vec3(pub [u8; 32]); struct
18 impl Default for Vec3 { implementation
23 impl core::fmt::Debug for Vec3 { implementation
36 impl flatbuffers::SimpleToVerifyInSlice for Vec3 {} implementation
37 impl flatbuffers::SafeSliceAccess for Vec3 {} implementation
38 impl<'a> flatbuffers::Follow<'a> for Vec3 { implementation
39 type Inner = &'a Vec3;
42 <&'a Vec3>::follow(buf, loc) in follow()
45 impl<'a> flatbuffers::Follow<'a> for &'a Vec3 { implementation
46 type Inner = &'a Vec3;
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dtypes.h93 struct alignas(sizeof(T)) Vec3 { struct
101 Vec3() : Vec3(T(0.0f)) {} in Vec3() argument
104 constexpr Vec3(S x_, S y_, S z_) : x(x_), y(y_), z(z_) {} in Vec3() argument
105 explicit Vec3(T v) : x(v), y(v), z(v) {} in Vec3() argument
108 explicit Vec3(S v) : x(v), y(v), z(v) {} in Vec3() function
110 Vec3(const Vec3& f) : x(f.x), y(f.y), z(f.z) {} in Vec3() function
113 Vec3(const Vec3<S>& f) : x(f.x), y(f.y), z(f.z) {} in Vec3() function
115 Vec3& operator=(const Vec3& other) {
126 bool operator==(const Vec3& value) const { argument
129 bool operator!=(const Vec3& value) const {
[all …]
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp110 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordD…
116 …ew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2&…
118 …iew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2&…
119 …ew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2&…
130 …sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4&…
131 …pler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4…
132 …pler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4…
140 …iew& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int compone…
141 …w& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int compone…
142 …w& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int compone…
[all …]
/external/deqp/modules/gles2/functional/
Des2fDepthTests.cpp202 using tcu::Vec3; in render()
220 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
223 sglr::drawQuad(context, shaderID, Vec3(-1.0f, -1.0f, 0.2f), Vec3(0.0f, 0.0f, 0.2f)); in render()
228 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.4f), Vec3(0.0f, 1.0f, -0.4f)); in render()
231 sglr::drawQuad(context, shaderID, Vec3(-1.0f, 0.0f, -0.1f), Vec3(0.0f, 1.0f, -0.1f)); in render()
236 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.5f), Vec3(1.0f, 0.0f, 0.5f)); in render()
239 sglr::drawQuad(context, shaderID, Vec3(0.0f, -1.0f, 0.3f), Vec3(1.0f, 0.0f, 0.3f)); in render()
244 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, 0.0f), Vec3(1.0f, 1.0f, 0.0f)); in render()
247 sglr::drawQuad(context, shaderID, Vec3(0.0f, 0.0f, -1.0f), Vec3(1.0f, 1.0f, 1.0f)); in render()

12345678910>>...15