Home
last modified time | relevance | path

Searched refs:hasUnsignedTextureComponent (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Shader/
DSamplerCore.cpp175 if(hasUnsignedTextureComponent(component)) in sampleTexture()
381 … c[component] *= Float4(hasUnsignedTextureComponent(component) ? 1.0f / 0xFFFF : 1.0f / 0x7FFF); in sampleTexture()
430 if(hasUnsignedTextureComponent(component)) in sampleTexture()
638 …if(hasUnsignedTextureComponent(0)) cc.x = MulHigh(As<UShort4>(cc.x), utri); else cc.x = MulHigh(cc… in sampleFilter()
639 …if(hasUnsignedTextureComponent(1)) cc.y = MulHigh(As<UShort4>(cc.y), utri); else cc.y = MulHigh(cc… in sampleFilter()
640 …if(hasUnsignedTextureComponent(2)) cc.z = MulHigh(As<UShort4>(cc.z), utri); else cc.z = MulHigh(cc… in sampleFilter()
641 …if(hasUnsignedTextureComponent(3)) cc.w = MulHigh(As<UShort4>(cc.w), utri); else cc.w = MulHigh(cc… in sampleFilter()
646 …if(hasUnsignedTextureComponent(0)) c.x = MulHigh(As<UShort4>(c.x), utri); else c.x = MulHigh(c.x, … in sampleFilter()
647 …if(hasUnsignedTextureComponent(1)) c.y = MulHigh(As<UShort4>(c.y), utri); else c.y = MulHigh(c.y, … in sampleFilter()
648 …if(hasUnsignedTextureComponent(2)) c.z = MulHigh(As<UShort4>(c.z), utri); else c.z = MulHigh(c.z, … in sampleFilter()
[all …]
DSamplerCore.hpp100 bool hasUnsignedTextureComponent(int component) const;