Home
last modified time | relevance | path

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

/external/swiftshader/src/Pipeline/
DSamplerCore.cpp377 UShort4 utri = UShort4(Float4(lod)); // FIXME: Optimize in sampleFilter() local
378 Short4 stri = utri >> 1; // FIXME: Optimize in sampleFilter()
381 cc.x = MulHigh(As<UShort4>(cc.x), utri); in sampleFilter()
385 cc.y = MulHigh(As<UShort4>(cc.y), utri); in sampleFilter()
389 cc.z = MulHigh(As<UShort4>(cc.z), utri); in sampleFilter()
393 cc.w = MulHigh(As<UShort4>(cc.w), utri); in sampleFilter()
397 utri = ~utri; in sampleFilter()
401 c.x = MulHigh(As<UShort4>(c.x), utri); in sampleFilter()
405 c.y = MulHigh(As<UShort4>(c.y), utri); in sampleFilter()
409 c.z = MulHigh(As<UShort4>(c.z), utri); in sampleFilter()
[all …]
/external/swiftshader/src/Shader/
DSamplerCore.cpp582 UShort4 utri = UShort4(Float4(lod)); // FIXME: Optimize in sampleFilter() local
583 Short4 stri = utri >> 1; // FIXME: Optimize in sampleFilter()
585 …if(hasUnsignedTextureComponent(0)) cc.x = MulHigh(As<UShort4>(cc.x), utri); else cc.x = MulHigh(cc… in sampleFilter()
586 …if(hasUnsignedTextureComponent(1)) cc.y = MulHigh(As<UShort4>(cc.y), utri); else cc.y = MulHigh(cc… in sampleFilter()
587 …if(hasUnsignedTextureComponent(2)) cc.z = MulHigh(As<UShort4>(cc.z), utri); else cc.z = MulHigh(cc… in sampleFilter()
588 …if(hasUnsignedTextureComponent(3)) cc.w = MulHigh(As<UShort4>(cc.w), utri); else cc.w = MulHigh(cc… in sampleFilter()
590 utri = ~utri; in sampleFilter()
593 …if(hasUnsignedTextureComponent(0)) c.x = MulHigh(As<UShort4>(c.x), utri); else c.x = MulHigh(c.x, … in sampleFilter()
594 …if(hasUnsignedTextureComponent(1)) c.y = MulHigh(As<UShort4>(c.y), utri); else c.y = MulHigh(c.y, … in sampleFilter()
595 …if(hasUnsignedTextureComponent(2)) c.z = MulHigh(As<UShort4>(c.z), utri); else c.z = MulHigh(c.z, … in sampleFilter()
[all …]