Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShaderCore.hpp43 class Vector4f class
46 Vector4f();
47 Vector4f(float x, float y, float z, float w);
48 Vector4f(const Vector4f &rhs);
51 Vector4f &operator=(const Vector4f &rhs);
83 Float4 dot2(const Vector4f &v0, const Vector4f &v1);
84 Float4 dot3(const Vector4f &v0, const Vector4f &v1);
85 Float4 dot4(const Vector4f &v0, const Vector4f &v1);
119 Register &operator=(const Vector4f &rhs) in operator =()
129 operator Vector4f() in operator Vector4f()
[all …]
DPixelProgram.hpp42 Vector4f c[RENDERTARGETS];
46 Vector4f vPos;
47 Vector4f vFace;
50 Vector4f p0;
66Vector4f sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &…
67Vector4f sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &ds…
70 void clampColor(Vector4f oC[RENDERTARGETS]);
74 Vector4f fetchRegister(const Src &src, unsigned int offset = 0);
75 Vector4f readConstant(const Src &src, unsigned int offset = 0);
86 void M3X2(Vector4f &dst, Vector4f &src0, const Src &src1);
[all …]
DVertexProgram.hpp43 Vector4f a0;
45 Vector4f p0;
72 Vector4f fetchRegister(const Src &src, unsigned int offset = 0);
73 Vector4f readConstant(const Src &src, unsigned int offset = 0);
80 void M3X2(Vector4f &dst, Vector4f &src0, Src &src1);
81 void M3X3(Vector4f &dst, Vector4f &src0, Src &src1);
82 void M3X4(Vector4f &dst, Vector4f &src0, Src &src1);
83 void M4X3(Vector4f &dst, Vector4f &src0, Src &src1);
84 void M4X4(Vector4f &dst, Vector4f &src0, Src &src1);
86 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 []()
473 Float4 dot2(const Vector4f &v0, const Vector4f &v1) in dot2()
478 Float4 dot3(const Vector4f &v0, const Vector4f &v1) in dot3()
483 Float4 dot4(const Vector4f &v0, const Vector4f &v1) in dot4()
577 const Vector4f RegisterFile::operator[](RValue<Int4> index) in operator []()
586 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.cpp112 oC[i] = Vector4f(0.0f, 0.0f, 0.0f, 0.0f); in applyShader()
156 Vector4f d; in applyShader()
157 Vector4f s0; in applyShader()
158 Vector4f s1; in applyShader()
159 Vector4f s2; in applyShader()
160 Vector4f s3; in applyShader()
161 Vector4f s4; in applyShader()
391 Vector4f pDst; // FIXME: Rename in applyShader()
733 Vector4f color = c[index]; in rasterOperation()
748Vector4f PixelProgram::sampleTexture(const Src &sampler, Vector4f &uvwq, Float4 &bias, Vector4f &d… in sampleTexture()
[all …]
DVertexProgram.cpp143 Vector4f d; in program()
144 Vector4f s0; in program()
145 Vector4f s1; in program()
146 Vector4f s2; in program()
147 Vector4f s3; in program()
148 Vector4f s4; in program()
366 Vector4f pDst; // FIXME: Rename in program()
688 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) in fetchRegister()
690 Vector4f reg; in fetchRegister()
785 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()
567 …::sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float &l… in sampleFilter()
[all …]
DVertexRoutine.hpp61 Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, const UInt &index);
DPixelPipeline.hpp66 void convertFixed12(Vector4s &cs, Vector4f &cf);
68 void convertSigned12(Vector4f &cf, Vector4s &cs);
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.hpp57 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &color, const Int …
58Vector4f alphaBlend(int index, const Pointer<Byte> &cBuffer, const Vector4f &sourceColor, const In…
79 …void blendFactorRGB(Vector4f &blendFactorRGB, const Vector4f &sourceColor, const Vector4f &destCol…
82Vector4f computeAdvancedBlendMode(int index, const Vector4f &src, const Vector4f &dst, const Vecto…
88 void setLumSat(Vector4f &cbase, Vector4f &csat, Vector4f &clum, Float4 &x, Float4 &y, Float4 &z);
89 void setLum(Vector4f &cbase, Vector4f &clum, Float4 &x, Float4 &y, Float4 &z);
91 Float4 maxRGB(Vector4f &c);
92 Float4 minRGB(Vector4f &c);
93 Float4 lumRGB(Vector4f &c);
94 void premultiply(Vector4f &c);
DSamplerCore.hpp64Vector4f sampleTexture(Pointer<Byte> &texture, Float4 uvwa[4], Float4 &q, Float &&lodOrBias, Float…
67 Float4 applySwizzle(const Vector4f &c, VkComponentSwizzle swizzle, bool integer);
74Vector4f sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &…
75Vector4f sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a…
76Vector4f sampleFloat(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Flo…
77Vector4f sampleFloat2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, F…
78Vector4f sampleFloat3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &dRef, Vect…
89Vector4f sampleTexel(Int4 &u, Int4 &v, Int4 &w, Float4 &dRef, const Int4 &sample, Pointer<Byte> &m…
90 Vector4f replaceBorderTexel(const Vector4f &c, Int4 valid);
DShaderCore.hpp46 class Vector4f class
49 Vector4f();
50 Vector4f(float x, float y, float z, float w);
51 Vector4f(const Vector4f &rhs);
54 Vector4f &operator=(const Vector4f &rhs);
210 Float4 dot2(const Vector4f &v0, const Vector4f &v1);
211 Float4 dot3(const Vector4f &v0, const Vector4f &v1);
212 Float4 dot4(const Vector4f &v0, const Vector4f &v1);
523 struct PrintValue::Ty<sw::Vector4f>
525 static std::string fmt(const sw::Vector4f &v) in fmt()
[all …]
DPixelProgram.hpp41 Vector4f c[MAX_COLOR_BUFFERS];
44 void clampColor(Vector4f color[MAX_COLOR_BUFFERS]);
DShaderCore.cpp67 Vector4f::Vector4f() in Vector4f() function in sw::Vector4f
71 Vector4f::Vector4f(float x, float y, float z, float w) in Vector4f() function in sw::Vector4f
79 Vector4f::Vector4f(const Vector4f &rhs) in Vector4f() function in sw::Vector4f
87 Vector4f &Vector4f::operator=(const Vector4f &rhs) in operator =()
97 Float4 &Vector4f::operator[](int i) in operator []()
457 Float4 dot2(const Vector4f &v0, const Vector4f &v1) in dot2()
462 Float4 dot3(const Vector4f &v0, const Vector4f &v1) in dot3()
467 Float4 dot4(const Vector4f &v0, const Vector4f &v1) in dot4()
DSamplerCore.cpp29 Vector4f SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 uvwa[4], Float4 &dRef, Float &&l… in sampleTexture()
31 Vector4f c; in sampleTexture()
195 const Vector4f col = c; in sampleTexture()
224 Float4 SamplerCore::applySwizzle(const Vector4f &c, VkComponentSwizzle swizzle, bool integer) in applySwizzle()
801 Vector4f SamplerCore::sampleFloatFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, co… in sampleFloatFilter()
803Vector4f c = sampleFloatAniso(texture, u, v, w, a, dRef, offset, sample, lod, anisotropy, uDelta, … in sampleFloatFilter()
812Vector4f cc = sampleFloatAniso(texture, u, v, w, a, dRef, offset, sample, lod, anisotropy, uDelta,… in sampleFloatFilter()
825 Vector4f SamplerCore::sampleFloatAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, con… in sampleFloatAniso()
827 Vector4f c; in sampleFloatAniso()
837 Vector4f cSum; in sampleFloatAniso()
[all …]
DSpirvShaderSampling.cpp157 Vector4f dsx; in emitSamplerRoutine()
158 Vector4f dsy; in emitSamplerRoutine()
228Vector4f sample = s.sampleTexture(texture, uvwa, dRef, lod[i], dPdx, dPdy, offset, sampleId, sampl… in emitSamplerRoutine()
253Vector4f sample = s.sampleTexture(texture, uvwa, dRef, lodOrBias.x, (dsx.x), (dsy.x), offset, samp… in emitSamplerRoutine()
DVertexRoutine.hpp75Vector4f readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, Pointer<UInt> &batc…
DPixelRoutine.cpp1827 void PixelRoutine::blendFactorRGB(Vector4f &blendFactor, const Vector4f &sourceColor, const Vector4… in blendFactorRGB()
2052 Float4 PixelRoutine::maxRGB(Vector4f &c) in maxRGB()
2057 Float4 PixelRoutine::minRGB(Vector4f &c) in minRGB()
2062 void PixelRoutine::setLumSat(Vector4f &cbase, Vector4f &csat, Vector4f &clum, Float4 &x, Float4 &y,… in setLumSat()
2068 Vector4f color; in setLumSat()
2075 Float4 PixelRoutine::lumRGB(Vector4f &c) in lumRGB()
2092 void PixelRoutine::setLum(Vector4f &cbase, Vector4f &clum, Float4 &x, Float4 &y, Float4 &z) in setLum()
2098 Vector4f color; in setLum()
2115 void PixelRoutine::premultiply(Vector4f &c) in premultiply()
2123 Vector4f PixelRoutine::computeAdvancedBlendMode(int index, const Vector4f &src, const Vector4f &dst… in computeAdvancedBlendMode()
[all …]
/third_party/boost/libs/compute/test/extra/
Dtest_interop_eigen.cpp53 BOOST_CHECK(std::strcmp(bcl::type_name<Eigen::Vector4f>(), "float4") == 0); in BOOST_AUTO_TEST_CASE()
59 std::vector<Eigen::Vector4f> host_vectors; in BOOST_AUTO_TEST_CASE()
68 host_vectors.push_back(Eigen::Vector4f(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE()
69 host_vectors.push_back(Eigen::Vector4f(4, 3, 2, 1)); in BOOST_AUTO_TEST_CASE()
70 host_vectors.push_back(Eigen::Vector4f(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE()
71 host_vectors.push_back(Eigen::Vector4f(4, 3, 2, 1)); in BOOST_AUTO_TEST_CASE()
78 BOOST_COMPUTE_CLOSURE(Eigen::Vector4f, transform4x4, (const Eigen::Vector4f x), (M), in BOOST_AUTO_TEST_CASE()
88 bcl::vector<Eigen::Vector4f> vectors(4, context); in BOOST_AUTO_TEST_CASE()
89 bcl::vector<Eigen::Vector4f> results(4, context); in BOOST_AUTO_TEST_CASE()
97 std::vector<Eigen::Vector4f> host_results(4); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/compute/interop/eigen/
Dcore.hpp64 BOOST_COMPUTE_TYPE_NAME(Eigen::Vector4f, float4)
/third_party/boost/libs/compute/include/boost/compute/interop/eigen/
Dcore.hpp64 BOOST_COMPUTE_TYPE_NAME(Eigen::Vector4f, float4)

12