/external/swiftshader/src/Shader/ |
D | PixelPipeline.hpp | 36 Vector4s ¤t; 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 ¤t, Float4 &fog); 60 void specularPixel(Vector4s ¤t, Vector4s &specular); 62 Vector4s sampleTexture(int coordinates, int sampler, bool project = false); [all …]
|
D | PixelRoutine.hpp | 58 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s ¤t, Int &sMask, Int &zMa… 66 void linearToSRGB12_16(Vector4s &c); 77 …void blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pixel, BlendFacto… 78 …void blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, 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);
|
D | PixelPipeline.cpp | 39 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 …]
|
D | SamplerCore.hpp | 53 …Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 … 58 …Vector4s sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float4 &q, Float4 … 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… 82 …Vector4s 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);
|
D | ShaderCore.hpp | 27 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()
|
D | SamplerCore.cpp | 22 void applySwizzle(sw::SwizzleType swizzle, sw::Short4& s, const sw::Vector4s& c) in applySwizzle() 59 …Vector4s SamplerCore::sampleTexture(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Float… in sampleTexture() 64 …Vector4s 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() 567 …Vector4s SamplerCore::sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector… in sampleFilter() 569 …Vector4s c = sampleAniso(texture, u, v, w, offset, lod, anisotropy, uDelta, vDelta, face, false, f… in sampleFilter() 578 …Vector4s cc = sampleAniso(texture, u, v, w, offset, lod, anisotropy, uDelta, vDelta, face, true, f… in sampleFilter() 668 …Vector4s SamplerCore::sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4… in sampleAniso() [all …]
|
D | PixelRoutine.cpp | 862 …void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pix… in blendFactor() 943 …void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, 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 ¤t, 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 ¤t, Int &x) in logicOperation() 1297 Vector4s pixel; in logicOperation() 1385 …void PixelRoutine::writeColor(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s ¤t, Int &s… in writeColor() [all …]
|
D | ShaderCore.cpp | 29 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 []()
|
D | PixelProgram.cpp | 682 Vector4s color; in rasterOperation()
|
/external/swiftshader/src/Pipeline/ |
D | PixelRoutine.hpp | 59 void alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4s ¤t, const Int &x); 62 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s ¤t, const In… 66 void linearToSRGB12_16(Vector4s &c); 77 …void blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pixel, VkBlendFac… 78 …void blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, 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);
|
D | SamplerCore.hpp | 66 …Vector4s sampleFilter(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve… 67 …Vector4s sampleAniso(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vec… 68 …Vector4s sampleQuad(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Vect… 69 …Vector4s sampleQuad2D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, const Float4 &a, Ve… 70 …Vector4s sample3D(Pointer<Byte> &texture, Float4 &u, Float4 &v, Float4 &w, Vector4i &offset, const… 84 …Vector4s sampleTexel(Short4 &u, Short4 &v, Short4 &w, const Short4 &cubeArrayLayer, Vector4i &offs… 85 Vector4s sampleTexel(UInt index[4], Pointer<Byte> buffer);
|
D | ShaderCore.hpp | 30 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()
|
D | ShaderCore.cpp | 24 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()
|
D | SamplerCore.cpp | 199 …Vector4s 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() 364 …Vector4s c = sampleAniso(texture, u, v, w, a, offset, sample, lod, anisotropy, uDelta, vDelta, fal… in sampleFilter() 373 …Vector4s 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 …]
|
D | PixelRoutine.cpp | 863 void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s ¤t, const Vector4s &pixe… in blendFactor() 944 void PixelRoutine::blendFactorAlpha(Vector4s &blendFactor, const Vector4s ¤t, 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 ¤t, 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 …]
|
D | PixelProgram.cpp | 300 Vector4s color; in rasterOperation()
|