Home
last modified time | relevance | path

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

/external/swiftshader/src/Pipeline/
DSamplerCore.cpp443 Vector4s cSum; in sampleAniso() local
445 cSum.x = Short4(0); in sampleAniso()
446 cSum.y = Short4(0); in sampleAniso()
447 cSum.z = Short4(0); in sampleAniso()
448 cSum.w = Short4(0); in sampleAniso()
474 cSum.x += As<Short4>(MulHigh(As<UShort4>(c.x), cw)); in sampleAniso()
476 cSum.x += MulHigh(c.x, sw); in sampleAniso()
478 cSum.y += As<Short4>(MulHigh(As<UShort4>(c.y), cw)); in sampleAniso()
480 cSum.y += MulHigh(c.y, sw); in sampleAniso()
482 cSum.z += As<Short4>(MulHigh(As<UShort4>(c.z), cw)); in sampleAniso()
[all …]
/external/swiftshader/src/Shader/
DSamplerCore.cpp680 Vector4s cSum; in sampleAniso() local
682 cSum.x = Short4(0); in sampleAniso()
683 cSum.y = Short4(0); in sampleAniso()
684 cSum.z = Short4(0); in sampleAniso()
685 cSum.w = Short4(0); in sampleAniso()
710 …if(hasUnsignedTextureComponent(0)) cSum.x += As<Short4>(MulHigh(As<UShort4>(c.x), cw)); else cSum.… in sampleAniso()
711 …if(hasUnsignedTextureComponent(1)) cSum.y += As<Short4>(MulHigh(As<UShort4>(c.y), cw)); else cSum.… in sampleAniso()
712 …if(hasUnsignedTextureComponent(2)) cSum.z += As<Short4>(MulHigh(As<UShort4>(c.z), cw)); else cSum.… in sampleAniso()
713 …if(hasUnsignedTextureComponent(3)) cSum.w += As<Short4>(MulHigh(As<UShort4>(c.w), cw)); else cSum.… in sampleAniso()
719 if(hasUnsignedTextureComponent(0)) c.x = cSum.x; else c.x = AddSat(cSum.x, cSum.x); in sampleAniso()
[all …]