Home
last modified time | relevance | path

Searched refs:Vector4f (Results 1 – 25 of 55) sorted by relevance

123

/external/swiftshader/src/Pipeline/
DShaderCore.hpp42 class Vector4f class
45 Vector4f();
46 Vector4f(float x, float y, float z, float w);
47 Vector4f(const Vector4f &rhs);
50 Vector4f &operator=(const Vector4f &rhs);
82 Float4 dot2(const Vector4f &v0, const Vector4f &v1);
83 Float4 dot3(const Vector4f &v0, const Vector4f &v1);
84 Float4 dot4(const Vector4f &v0, const Vector4f &v1);
124 Register &operator=(const Vector4f &rhs) in operator =()
134 operator Vector4f() in operator Vector4f()
[all …]
DPixelProgram.hpp61 Vector4f c[RENDERTARGETS];
65 Vector4f vPos;
66 Vector4f vFace;
69 Vector4f p0;
85Vector4f sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &…
86Vector4f sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &ds…
89 void clampColor(Vector4f oC[RENDERTARGETS]);
93 Vector4f fetchRegister(const Src &src, unsigned int offset = 0);
94 Vector4f readConstant(const Src &src, unsigned int offset = 0);
105 void M3X2(Vector4f &dst, Vector4f &src0, const Src &src1);
[all …]
DVertexProgram.hpp41 Vector4f a0;
43 Vector4f p0;
68 Vector4f fetchRegister(const Src &src, unsigned int offset = 0);
69 Vector4f readConstant(const Src &src, unsigned int offset = 0);
76 void M3X2(Vector4f &dst, Vector4f &src0, Src &src1);
77 void M3X3(Vector4f &dst, Vector4f &src0, Src &src1);
78 void M3X4(Vector4f &dst, Vector4f &src0, Src &src1);
79 void M4X3(Vector4f &dst, Vector4f &src0, Src &src1);
80 void M4X4(Vector4f &dst, Vector4f &src0, Src &src1);
82 void BREAKC(Vector4f &src0, Vector4f &src1, Control);
[all …]
DShaderCore.cpp72 Vector4f::Vector4f() in Vector4f() function in sw::Vector4f
76 Vector4f::Vector4f(float x, float y, float z, float w) in Vector4f() function in sw::Vector4f
84 Vector4f::Vector4f(const Vector4f &rhs) in Vector4f() function in sw::Vector4f
92 Vector4f &Vector4f::operator=(const Vector4f &rhs) in operator =()
102 Float4 &Vector4f::operator[](int i) in operator []()
459 Float4 dot2(const Vector4f &v0, const Vector4f &v1) in dot2()
464 Float4 dot3(const Vector4f &v0, const Vector4f &v1) in dot3()
469 Float4 dot4(const Vector4f &v0, const Vector4f &v1) in dot4()
563 const Vector4f RegisterFile::operator[](RValue<Int4> index) in operator []()
572 Vector4f r; in operator []()
[all …]
DSamplerCore.hpp53 … &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy);
54Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
55 static Vector4f textureSize(Pointer<Byte> &mipmap, Float4 &lod);
58 …loat4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &o…
63 …Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
64 …Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Fl…
65 …Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Flo…
66 …Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
67 …Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float…
68Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vec…
[all …]
DPixelProgram.cpp83 oC[i] = Vector4f(0.0f, 0.0f, 0.0f, 0.0f); in applyShader()
127 Vector4f d; in applyShader()
128 Vector4f s0; in applyShader()
129 Vector4f s1; in applyShader()
130 Vector4f s2; in applyShader()
131 Vector4f s3; in applyShader()
132 Vector4f s4; in applyShader()
361 Vector4f pDst; // FIXME: Rename in applyShader()
692 Vector4f color = c[index]; in rasterOperation()
707Vector4f PixelProgram::sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &d… in sampleTexture()
[all …]
DVertexProgram.cpp128 Vector4f d; in program()
129 Vector4f s0; in program()
130 Vector4f s1; in program()
131 Vector4f s2; in program()
132 Vector4f s3; in program()
133 Vector4f s4; in program()
350 Vector4f pDst; // FIXME: Rename in program()
604 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) in fetchRegister()
606 Vector4f reg; in fetchRegister()
698 Vector4f mod; in fetchRegister()
[all …]
DPixelRoutine.hpp59 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x);
60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, I…
78 …void blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, VkBlendFactor b…
79 …void blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, VkBlendFac…
DSamplerCore.cpp36 void applySwizzle(sw::SwizzleType swizzle, sw::Float4& f, const sw::Vector4f& c) in applySwizzle()
59 …> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy) in sampleTexture()
64 …loat4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &o… in sampleTexture()
129Vector4f cf = sampleFloatFilter(texture, uuuu, vvvv, wwww, qqqq, offset, lod, anisotropy, uDelta, … in sampleTexture()
230Vector4f SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float… in sampleTexture()
232 Vector4f c; in sampleTexture()
400 const Vector4f col(c); in sampleTexture()
411 Vector4f SamplerCore::textureSize(Pointer<Byte> &texture, Float4 &lod) in textureSize()
413 Vector4f size; in textureSize()
475 …::sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &l… in sampleFilter()
[all …]
/external/swiftshader/src/Shader/
DShaderCore.hpp42 class Vector4f class
45 Vector4f();
46 Vector4f(float x, float y, float z, float w);
47 Vector4f(const Vector4f &rhs);
50 Vector4f &operator=(const Vector4f &rhs);
82 Float4 dot2(const Vector4f &v0, const Vector4f &v1);
83 Float4 dot3(const Vector4f &v0, const Vector4f &v1);
84 Float4 dot4(const Vector4f &v0, const Vector4f &v1);
124 Register &operator=(const Vector4f &rhs) in operator =()
134 operator Vector4f() in operator Vector4f()
[all …]
DPixelProgram.hpp61 Vector4f c[RENDERTARGETS];
65 Vector4f vPos;
66 Vector4f vFace;
69 Vector4f p0;
85Vector4f sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &…
86Vector4f sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &ds…
89 void clampColor(Vector4f oC[RENDERTARGETS]);
93 Vector4f fetchRegister(const Src &src, unsigned int offset = 0);
94 Vector4f readConstant(const Src &src, unsigned int offset = 0);
105 void M3X2(Vector4f &dst, Vector4f &src0, const Src &src1);
[all …]
DVertexProgram.hpp41 Vector4f a0;
43 Vector4f p0;
70 Vector4f fetchRegister(const Src &src, unsigned int offset = 0);
71 Vector4f readConstant(const Src &src, unsigned int offset = 0);
78 void M3X2(Vector4f &dst, Vector4f &src0, Src &src1);
79 void M3X3(Vector4f &dst, Vector4f &src0, Src &src1);
80 void M3X4(Vector4f &dst, Vector4f &src0, Src &src1);
81 void M4X3(Vector4f &dst, Vector4f &src0, Src &src1);
82 void M4X4(Vector4f &dst, Vector4f &src0, Src &src1);
84 void BREAKC(Vector4f &src0, Vector4f &src1, Control);
[all …]
DShaderCore.cpp72 Vector4f::Vector4f() in Vector4f() function in sw::Vector4f
76 Vector4f::Vector4f(float x, float y, float z, float w) in Vector4f() function in sw::Vector4f
84 Vector4f::Vector4f(const Vector4f &rhs) in Vector4f() function in sw::Vector4f
92 Vector4f &Vector4f::operator=(const Vector4f &rhs) in operator =()
102 Float4 &Vector4f::operator[](int i) in operator []()
459 Float4 dot2(const Vector4f &v0, const Vector4f &v1) in dot2()
464 Float4 dot3(const Vector4f &v0, const Vector4f &v1) in dot3()
469 Float4 dot4(const Vector4f &v0, const Vector4f &v1) in dot4()
563 const Vector4f RegisterFile::operator[](RValue<Int4> index) in operator []()
572 Vector4f r; in operator []()
[all …]
DSamplerCore.hpp53 … &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy);
54Vector4f sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
55 static Vector4f textureSize(Pointer<Byte> &mipmap, Float4 &lod);
58 …loat4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &o…
63 …Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
64 …Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Fl…
65 …Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Flo…
66 …Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
67 …Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float…
68Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Vec…
[all …]
DVertexPipeline.hpp34 void processTextureCoordinate(int stage, Vector4f &normal, Vector4f &position);
37 Vector4f transformBlend(const Register &src, const Pointer<Byte> &matrix, bool homogenous);
38 Vector4f transform(const Register &src, const Pointer<Byte> &matrix, bool homogenous);
39Vector4f transform(const Register &src, const Pointer<Byte> &matrix, UInt index[4], bool homogenou…
40 Vector4f normalize(Vector4f &src);
DVertexPipeline.cpp40Vector4f VertexPipeline::transformBlend(const Register &src, const Pointer<Byte> &matrix, bool hom… in transformBlend()
42 Vector4f dst; in transformBlend()
109 Vector4f pos0; in transformBlend()
110 Vector4f pos1; in transformBlend()
124 Vector4f pos0; in transformBlend()
125 Vector4f pos1; in transformBlend()
126 Vector4f pos2; in transformBlend()
141 Vector4f pos0; in transformBlend()
142 Vector4f pos1; in transformBlend()
143 Vector4f pos2; in transformBlend()
[all …]
DPixelProgram.cpp83 oC[i] = Vector4f(0.0f, 0.0f, 0.0f, 0.0f); in applyShader()
127 Vector4f d; in applyShader()
128 Vector4f s0; in applyShader()
129 Vector4f s1; in applyShader()
130 Vector4f s2; in applyShader()
131 Vector4f s3; in applyShader()
132 Vector4f s4; in applyShader()
362 Vector4f pDst; // FIXME: Rename in applyShader()
704 Vector4f color = c[index]; in rasterOperation()
719Vector4f PixelProgram::sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &d… in sampleTexture()
[all …]
DVertexProgram.cpp135 Vector4f d; in program()
136 Vector4f s0; in program()
137 Vector4f s1; in program()
138 Vector4f s2; in program()
139 Vector4f s3; in program()
140 Vector4f s4; in program()
358 Vector4f pDst; // FIXME: Rename in program()
680 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) in fetchRegister()
682 Vector4f reg; in fetchRegister()
774 Vector4f mod; in fetchRegister()
[all …]
DPixelRoutine.hpp54 void fogBlend(Vector4f &c0, Float4 &fog);
61 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x);
62 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, I…
80 …void blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor ble…
81 …void blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFacto…
DSamplerCore.cpp36 void applySwizzle(sw::SwizzleType swizzle, sw::Float4& f, const sw::Vector4f& c) in applySwizzle()
59 …> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy) in sampleTexture()
64 …loat4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &o… in sampleTexture()
129Vector4f cf = sampleFloatFilter(texture, uuuu, vvvv, wwww, qqqq, offset, lod, anisotropy, uDelta, … in sampleTexture()
275Vector4f SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float… in sampleTexture()
277 Vector4f c; in sampleTexture()
491 const Vector4f col(c); in sampleTexture()
502 Vector4f SamplerCore::textureSize(Pointer<Byte> &texture, Float4 &lod) in textureSize()
504 Vector4f size; in textureSize()
566 …::sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &l… in sampleFilter()
[all …]
/external/eigen/bench/
Dsparse_trisolver.cpp191 Vector4f b = Vector4f::Random(); in main()
192 Vector4f x = Vector4f::Random(); in main()
206 Vector4f b = Vector4f::Random(); in main()
207 Vector4f x = Vector4f::Random(); in main()
/external/eigen/doc/
DStlContainers.dox22 std::map<int, Eigen::Vector4f>
26 std::map<int, Eigen::Vector4f, std::less<int>,
27 Eigen::aligned_allocator<std::pair<const int, Eigen::Vector4f> > >
39 std::vector<Eigen::Vector4f,Eigen::aligned_allocator<Eigen::Vector4f> >
57Vector4f>, some Eigen::Vector4f objects will be passed by value, which discards any alignment modi…
/external/eigen/demos/opengl/
Dquaternion_demo.cpp238 glLightfv(GL_LIGHT0, GL_AMBIENT, Vector4f(0.5,0.5,0.5,1).data()); in drawScene()
239 glLightfv(GL_LIGHT0, GL_DIFFUSE, Vector4f(0.5,1,0.5,1).data()); in drawScene()
240 glLightfv(GL_LIGHT0, GL_SPECULAR, Vector4f(1,1,1,1).data()); in drawScene()
241 glLightfv(GL_LIGHT0, GL_POSITION, Vector4f(-sqrt3,-sqrt3,sqrt3,0).data()); in drawScene()
243 glLightfv(GL_LIGHT1, GL_AMBIENT, Vector4f(0,0,0,1).data()); in drawScene()
244 glLightfv(GL_LIGHT1, GL_DIFFUSE, Vector4f(1,0.5,0.5,1).data()); in drawScene()
245 glLightfv(GL_LIGHT1, GL_SPECULAR, Vector4f(1,1,1,1).data()); in drawScene()
246 glLightfv(GL_LIGHT1, GL_POSITION, Vector4f(-sqrt3,sqrt3,-sqrt3,0).data()); in drawScene()
248 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, Vector4f(0.7, 0.7, 0.7, 1).data()); in drawScene()
249 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Vector4f(0.8, 0.75, 0.6, 1).data()); in drawScene()
[all …]
/external/eigen/test/
Dunalignedassert.cpp111 construct_at_boundary<Vector4f>(16); in unalignedassert()
151 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector4f>(8)); in unalignedassert()
Ddynalloc.cpp132 CALL_SUBTEST( check_custom_new_delete<Vector4f>() ); in test_dynalloc()
142 CALL_SUBTEST(check_dynaligned<Vector4f>() ); in test_dynalloc()

123