/external/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 381 cc.x = MulHigh(As<UShort4>(cc.x), utri); in sampleFilter() 383 cc.x = MulHigh(cc.x, stri); in sampleFilter() 385 cc.y = MulHigh(As<UShort4>(cc.y), utri); in sampleFilter() 387 cc.y = MulHigh(cc.y, stri); in sampleFilter() 389 cc.z = MulHigh(As<UShort4>(cc.z), utri); in sampleFilter() 391 cc.z = MulHigh(cc.z, stri); in sampleFilter() 393 cc.w = MulHigh(As<UShort4>(cc.w), utri); in sampleFilter() 395 cc.w = MulHigh(cc.w, stri); in sampleFilter() 401 c.x = MulHigh(As<UShort4>(c.x), utri); in sampleFilter() 403 c.x = MulHigh(c.x, stri); in sampleFilter() [all …]
|
D | SpirvShaderArithmetic.cpp | 490 dst.move(i + lhsType.componentCount, MulHigh(lhs.Int(i), rhs.Int(i))); in EmitBinaryOp() 494 dst.move(i + lhsType.componentCount, MulHigh(lhs.UInt(i), rhs.UInt(i))); in EmitBinaryOp()
|
D | PixelRoutine.cpp | 1185 current.x = MulHigh(As<UShort4>(current.x), As<UShort4>(sourceFactor.x)); in alphaBlend() 1186 current.y = MulHigh(As<UShort4>(current.y), As<UShort4>(sourceFactor.y)); in alphaBlend() 1187 current.z = MulHigh(As<UShort4>(current.z), As<UShort4>(sourceFactor.z)); in alphaBlend() 1192 pixel.x = MulHigh(As<UShort4>(pixel.x), As<UShort4>(destFactor.x)); in alphaBlend() 1193 pixel.y = MulHigh(As<UShort4>(pixel.y), As<UShort4>(destFactor.y)); in alphaBlend() 1194 pixel.z = MulHigh(As<UShort4>(pixel.z), As<UShort4>(destFactor.z)); in alphaBlend() 1246 current.w = MulHigh(As<UShort4>(current.w), As<UShort4>(sourceFactor.w)); in alphaBlend() 1251 pixel.w = MulHigh(As<UShort4>(pixel.w), As<UShort4>(destFactor.w)); in alphaBlend()
|
/external/swiftshader/src/Shader/ |
D | PixelPipeline.cpp | 423 current.x = MulHigh(current.x, texture.x) << 4; in blendTexture() 424 current.y = MulHigh(current.y, texture.y) << 4; in blendTexture() 425 current.z = MulHigh(current.z, texture.z) << 4; in blendTexture() 430 current.w = MulHigh(current.w, texture.w) << 4; in blendTexture() 436 texture.x = MulHigh(texture.x, L) << 4; in blendTexture() 437 texture.y = MulHigh(texture.y, L) << 4; in blendTexture() 438 texture.z = MulHigh(texture.z, L) << 4; in blendTexture() 602 res.x = MulHigh(arg1->x, arg2->x) << 4; in blendTexture() 603 res.y = MulHigh(arg1->y, arg2->y) << 4; in blendTexture() 604 res.z = MulHigh(arg1->z, arg2->z) << 4; in blendTexture() [all …]
|
D | SamplerCore.cpp | 140 c.x = MulHigh(As<UShort4>(c.x), UShort4(0x10000000 / 0xF800)); in sampleTexture() 141 c.y = MulHigh(As<UShort4>(c.y), UShort4(0x10000000 / 0xFC00)); in sampleTexture() 142 c.z = MulHigh(As<UShort4>(c.z), UShort4(0x10000000 / 0xF800)); in sampleTexture() 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() 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 …]
|
D | PixelRoutine.cpp | 1190 current.x = MulHigh(As<UShort4>(current.x), As<UShort4>(sourceFactor.x)); in alphaBlend() 1191 current.y = MulHigh(As<UShort4>(current.y), As<UShort4>(sourceFactor.y)); in alphaBlend() 1192 current.z = MulHigh(As<UShort4>(current.z), As<UShort4>(sourceFactor.z)); in alphaBlend() 1197 pixel.x = MulHigh(As<UShort4>(pixel.x), As<UShort4>(destFactor.x)); in alphaBlend() 1198 pixel.y = MulHigh(As<UShort4>(pixel.y), As<UShort4>(destFactor.y)); in alphaBlend() 1199 pixel.z = MulHigh(As<UShort4>(pixel.z), As<UShort4>(destFactor.z)); in alphaBlend() 1251 current.w = MulHigh(As<UShort4>(current.w), As<UShort4>(sourceFactor.w)); in alphaBlend() 1256 pixel.w = MulHigh(As<UShort4>(pixel.w), As<UShort4>(destFactor.w)); in alphaBlend()
|
/external/swiftshader/tests/ReactorUnitTests/ |
D | ReactorUnitTests.cpp | 1593 TEST(ReactorUnitTests, MulHigh) in TEST() argument 1600 MulHigh(Short4(0x01AA, 0x02DD, 0x03EE, 0xF422), in TEST() 1603 MulHigh(UShort4(0x01AA, 0x02DD, 0x03EE, 0xF422), in TEST() 1607 MulHigh(Int4(0x000001AA, 0x000002DD, 0xC8000000, 0xF8000000), in TEST() 1610 MulHigh(UInt4(0x000001AAu, 0x000002DDu, 0xC8000000u, 0xD8000000u), in TEST() 1614 MulHigh(Int4(0x7FFFFFFF, 0x7FFFFFFF, 0x80008000, 0xFFFFFFFF), in TEST() 1617 MulHigh(UInt4(0x7FFFFFFFu, 0x7FFFFFFFu, 0x80008000u, 0xFFFFFFFFu), in TEST()
|
/external/swiftshader/src/Reactor/ |
D | Reactor.hpp | 942 RValue<Short4> MulHigh(RValue<Short4> x, RValue<Short4> y); 1012 RValue<UShort4> MulHigh(RValue<UShort4> x, RValue<UShort4> y); 1069 RValue<Short8> MulHigh(RValue<Short8> x, RValue<Short8> y); 1128 RValue<UShort8> MulHigh(RValue<UShort8> x, RValue<UShort8> y); 2025 RValue<Int4> MulHigh(RValue<Int4> x, RValue<Int4> y); 2110 RValue<UInt4> MulHigh(RValue<UInt4> x, RValue<UInt4> y);
|
D | SubzeroReactor.cpp | 2682 RValue<Short4> MulHigh(RValue<Short4> x, RValue<Short4> y) in MulHigh() function 2971 RValue<UShort4> MulHigh(RValue<UShort4> x, RValue<UShort4> y) in MulHigh() function 2997 RValue<Int4> MulHigh(RValue<Int4> x, RValue<Int4> y) in MulHigh() function 3012 RValue<UInt4> MulHigh(RValue<UInt4> x, RValue<UInt4> y) in MulHigh() function 3122 RValue<Short8> MulHigh(RValue<Short8> x, RValue<Short8> y) in MulHigh() function 3192 RValue<UShort8> MulHigh(RValue<UShort8> x, RValue<UShort8> y) in MulHigh() function
|
D | LLVMReactor.cpp | 2094 RValue<Short4> MulHigh(RValue<Short4> x, RValue<Short4> y) in MulHigh() function 2240 RValue<UShort4> MulHigh(RValue<UShort4> x, RValue<UShort4> y) in MulHigh() function 2295 RValue<Short8> MulHigh(RValue<Short8> x, RValue<Short8> y) in MulHigh() function 2330 RValue<UShort8> MulHigh(RValue<UShort8> x, RValue<UShort8> y) in MulHigh() function 2745 RValue<Int4> MulHigh(RValue<Int4> x, RValue<Int4> y) in MulHigh() function 2752 RValue<UInt4> MulHigh(RValue<UInt4> x, RValue<UInt4> y) in MulHigh() function
|