Home
last modified time | relevance | path

Searched refs:Vector4s (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/src/Shader/
DPixelPipeline.hpp36 Vector4s &current;
37 Vector4s &diffuse;
38 Vector4s &specular;
40 Vector4s rs[6];
41 Vector4s vs[2];
42 Vector4s ts[6];
58 void blendTexture(Vector4s &temp, Vector4s &texture, int stage);
59 void fogBlend(Vector4s &current, Float4 &fog);
60 void specularPixel(Vector4s &current, Vector4s &specular);
62 Vector4s sampleTexture(int coordinates, int sampler, bool project = false);
[all …]
DPixelRoutine.hpp58 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x);
59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x);
60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s &current, Int &sMask, Int &zMa…
66 void linearToSRGB12_16(Vector4s &c);
77 …void blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, BlendFacto…
78 …void blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, Blend…
79 void readPixel(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s &pixel);
85 void sRGBtoLinear16_12_16(Vector4s &c);
86 void linearToSRGB16_12_16(Vector4s &c);
DPixelPipeline.cpp39 Vector4s temp(0x0000, 0x0000, 0x0000, 0x0000); in fixedFunction()
48 Vector4s texture; in fixedFunction()
70 Vector4s dPairing; // Destination for first pairing instruction in applyShader()
95 Vector4s d; in applyShader()
96 Vector4s s0; in applyShader()
97 Vector4s s1; in applyShader()
98 Vector4s s2; in applyShader()
345 Vector4s color = current; in rasterOperation()
380 void PixelPipeline::blendTexture(Vector4s &temp, Vector4s &texture, int stage) in blendTexture()
382 Vector4s *arg1 = nullptr; in blendTexture()
[all …]
DSamplerCore.hpp53Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
58Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 …
63Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
64Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Fl…
65Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Flo…
66Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, F…
67Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4f &offset, Float…
82Vector4s sampleTexel(Short4 &u, Short4 &v, Short4 &s, Vector4f &offset, Pointer<Byte> &mipmap, Poi…
83 Vector4s sampleTexel(UInt index[4], Pointer<Byte> buffer[4]);
91 void convertFixed12(Vector4s &cs, Vector4f &cf);
DShaderCore.hpp27 class Vector4s class
30 Vector4s();
31 Vector4s(unsigned short x, unsigned short y, unsigned short z, unsigned short w);
32 Vector4s(const Vector4s &rhs);
35 Vector4s &operator=(const Vector4s &rhs);
403 template <> struct PrintValue::Ty<sw::Vector4s>
405 static std::string fmt(const sw::Vector4s& v) in fmt()
413 static std::vector<rr::Value*> val(const sw::Vector4s& v) in val()
DSamplerCore.cpp22 void applySwizzle(sw::SwizzleType swizzle, sw::Short4& s, const sw::Vector4s& c) in applySwizzle()
59Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float… in sampleTexture()
64Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float… in sampleTexture()
66 Vector4s c; in sampleTexture()
263 const Vector4s col(c); in sampleTexture()
360 Vector4s cs = sampleTexture(texture, u, v, w, q, bias, dsx, dsy, offset, function, false); in sampleTexture()
567Vector4s SamplerCore::sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector… in sampleFilter()
569Vector4s c = sampleAniso(texture, u, v, w, offset, lod, anisotropy, uDelta, vDelta, face, false, f… in sampleFilter()
578Vector4s cc = sampleAniso(texture, u, v, w, offset, lod, anisotropy, uDelta, vDelta, face, true, f… in sampleFilter()
668Vector4s SamplerCore::sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4… in sampleAniso()
[all …]
DPixelRoutine.cpp862 …void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pix… in blendFactor()
943 …void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s in blendFactorAlpha()
998 void PixelRoutine::readPixel(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s &pixel) in readPixel()
1171 void PixelRoutine::alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x) in alphaBlend()
1178 Vector4s pixel; in alphaBlend()
1182 Vector4s sourceFactor; in alphaBlend()
1183 Vector4s destFactor; in alphaBlend()
1290 void PixelRoutine::logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s &current, Int &x) in logicOperation()
1297 Vector4s pixel; in logicOperation()
1385 …void PixelRoutine::writeColor(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s &current, Int &s… in writeColor()
[all …]
DShaderCore.cpp29 Vector4s::Vector4s() in Vector4s() function in sw::Vector4s
33 Vector4s::Vector4s(unsigned short x, unsigned short y, unsigned short z, unsigned short w) in Vector4s() function in sw::Vector4s
41 Vector4s::Vector4s(const Vector4s &rhs) in Vector4s() function in sw::Vector4s
49 Vector4s &Vector4s::operator=(const Vector4s &rhs) in operator =()
59 Short4 &Vector4s::operator[](int i) in operator []()
DPixelProgram.cpp682 Vector4s color; in rasterOperation()
/external/swiftshader/src/Pipeline/
DPixelRoutine.hpp59 void alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4s &current, const Int &x);
62 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &current, const In…
66 void linearToSRGB12_16(Vector4s &c);
77 …void blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, VkBlendFac…
78 …void blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, VkBle…
79 void readPixel(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &pixel);
85 void sRGBtoLinear16_12_16(Vector4s &c);
86 void linearToSRGB16_12_16(Vector4s &c);
DSamplerCore.hpp66Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve…
67Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vec…
68Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vect…
69Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve…
70Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4i &offset, const…
84Vector4s sampleTexel(Short4 &u, Short4 &v, Short4 &w, const Short4 &cubeArrayLayer, Vector4i &offs…
85 Vector4s sampleTexel(UInt index[4], Pointer<Byte> buffer);
DShaderCore.hpp30 class Vector4s class
33 Vector4s();
34 Vector4s(unsigned short x, unsigned short y, unsigned short z, unsigned short w);
35 Vector4s(const Vector4s &rhs);
38 Vector4s &operator=(const Vector4s &rhs);
227 Vector4s a2b10g10r10Unpack(const Int4 &value);
228 Vector4s a2r10g10b10Unpack(const Int4 &value);
548 struct PrintValue::Ty<sw::Vector4s>
550 static std::string fmt(const sw::Vector4s &v) in fmt()
558 static std::vector<rr::Value *> val(const sw::Vector4s &v) in val()
DShaderCore.cpp24 Vector4s::Vector4s() in Vector4s() function in sw::Vector4s
28 Vector4s::Vector4s(unsigned short x, unsigned short y, unsigned short z, unsigned short w) in Vector4s() function in sw::Vector4s
36 Vector4s::Vector4s(const Vector4s &rhs) in Vector4s() function in sw::Vector4s
44 Vector4s &Vector4s::operator=(const Vector4s &rhs) in operator =()
54 Short4 &Vector4s::operator[](int i) in operator []()
631 Vector4s a2b10g10r10Unpack(const Int4 &value) in a2b10g10r10Unpack()
633 Vector4s result; in a2b10g10r10Unpack()
651 Vector4s a2r10g10b10Unpack(const Int4 &value) in a2r10g10b10Unpack()
653 Vector4s result; in a2r10g10b10Unpack()
DSamplerCore.cpp199Vector4s cs = sampleFilter(texture, u, v, w, a, offset, sample, lod, anisotropy, uDelta, vDelta, f… in sampleTexture()
362 Vector4s SamplerCore::sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const F… in sampleFilter()
364Vector4s c = sampleAniso(texture, u, v, w, a, offset, sample, lod, anisotropy, uDelta, vDelta, fal… in sampleFilter()
373Vector4s cc = sampleAniso(texture, u, v, w, a, offset, sample, lod, anisotropy, uDelta, vDelta, tr… in sampleFilter()
431 Vector4s SamplerCore::sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Fl… in sampleAniso()
433 Vector4s c; in sampleAniso()
443 Vector4s cSum; in sampleAniso()
515 Vector4s SamplerCore::sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Flo… in sampleQuad()
527 Vector4s SamplerCore::sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const F… in sampleQuad2D()
529 Vector4s c; in sampleQuad2D()
[all …]
DPixelRoutine.cpp863 void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixe… in blendFactor()
944 void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s in blendFactorAlpha()
999 void PixelRoutine::readPixel(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &pixel) in readPixel()
1164 void PixelRoutine::alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4s &current, const Int… in alphaBlend()
1173 Vector4s pixel; in alphaBlend()
1177 Vector4s sourceFactor; in alphaBlend()
1178 Vector4s destFactor; in alphaBlend()
1285 void PixelRoutine::writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &curr… in writeColor()
1945 Vector4s color; in alphaBlend()
2791 void PixelRoutine::sRGBtoLinear16_12_16(Vector4s &c) in sRGBtoLinear16_12_16()
[all …]
DPixelProgram.cpp300 Vector4s color; in rasterOperation()