Lines Matching refs:hasUnsignedTextureComponent
172 if(hasUnsignedTextureComponent(component)) in sampleTexture()
426 if(hasUnsignedTextureComponent(component)) in sampleTexture()
615 …if(hasUnsignedTextureComponent(0)) cc.x = MulHigh(As<UShort4>(cc.x), utri); else cc.x = MulHigh(cc… in sampleFilter()
616 …if(hasUnsignedTextureComponent(1)) cc.y = MulHigh(As<UShort4>(cc.y), utri); else cc.y = MulHigh(cc… in sampleFilter()
617 …if(hasUnsignedTextureComponent(2)) cc.z = MulHigh(As<UShort4>(cc.z), utri); else cc.z = MulHigh(cc… in sampleFilter()
618 …if(hasUnsignedTextureComponent(3)) cc.w = MulHigh(As<UShort4>(cc.w), utri); else cc.w = MulHigh(cc… in sampleFilter()
623 …if(hasUnsignedTextureComponent(0)) c.x = MulHigh(As<UShort4>(c.x), utri); else c.x = MulHigh(c.x, … in sampleFilter()
624 …if(hasUnsignedTextureComponent(1)) c.y = MulHigh(As<UShort4>(c.y), utri); else c.y = MulHigh(c.y, … in sampleFilter()
625 …if(hasUnsignedTextureComponent(2)) c.z = MulHigh(As<UShort4>(c.z), utri); else c.z = MulHigh(c.z, … in sampleFilter()
626 …if(hasUnsignedTextureComponent(3)) c.w = MulHigh(As<UShort4>(c.w), utri); else c.w = MulHigh(c.w, … in sampleFilter()
633 if(!hasUnsignedTextureComponent(0)) c.x += c.x; in sampleFilter()
634 if(!hasUnsignedTextureComponent(1)) c.y += c.y; in sampleFilter()
635 if(!hasUnsignedTextureComponent(2)) c.z += c.z; in sampleFilter()
636 if(!hasUnsignedTextureComponent(3)) c.w += c.w; in sampleFilter()
689 …Pointer<Short4>(texture + OFFSET(Texture,borderColor4[0])) >> (hasUnsignedTextureComponent(0) ? 0 … in sampleFilter()
690 …Pointer<Short4>(texture + OFFSET(Texture,borderColor4[1])) >> (hasUnsignedTextureComponent(1) ? 0 … in sampleFilter()
691 …Pointer<Short4>(texture + OFFSET(Texture,borderColor4[2])) >> (hasUnsignedTextureComponent(2) ? 0 … in sampleFilter()
692 …Pointer<Short4>(texture + OFFSET(Texture,borderColor4[3])) >> (hasUnsignedTextureComponent(3) ? 0 … in sampleFilter()
736 …if(hasUnsignedTextureComponent(0)) cSum.x += As<Short4>(MulHigh(As<UShort4>(c.x), cw)); else cSum.… in sampleAniso()
737 …if(hasUnsignedTextureComponent(1)) cSum.y += As<Short4>(MulHigh(As<UShort4>(c.y), cw)); else cSum.… in sampleAniso()
738 …if(hasUnsignedTextureComponent(2)) cSum.z += As<Short4>(MulHigh(As<UShort4>(c.z), cw)); else cSum.… in sampleAniso()
739 …if(hasUnsignedTextureComponent(3)) cSum.w += As<Short4>(MulHigh(As<UShort4>(c.w), cw)); else cSum.… in sampleAniso()
745 if(hasUnsignedTextureComponent(0)) c.x = cSum.x; else c.x = AddSat(cSum.x, cSum.x); in sampleAniso()
746 if(hasUnsignedTextureComponent(1)) c.y = cSum.y; else c.y = AddSat(cSum.y, cSum.y); in sampleAniso()
747 if(hasUnsignedTextureComponent(2)) c.z = cSum.z; else c.z = AddSat(cSum.z, cSum.z); in sampleAniso()
748 if(hasUnsignedTextureComponent(3)) c.w = cSum.w; else c.w = AddSat(cSum.w, cSum.w); in sampleAniso()
830 …if(!hasUnsignedTextureComponent(0) || !hasUnsignedTextureComponent(1) || !hasUnsignedTextureCompon… in sampleQuad2D()
841 if(has16bitTextureComponents() && hasUnsignedTextureComponent(0)) in sampleQuad2D()
849 if(hasUnsignedTextureComponent(0)) in sampleQuad2D()
865 if(!hasUnsignedTextureComponent(0)) c.x = AddSat(c.x, c.x); // Correct for signed fractions in sampleQuad2D()
871 if(has16bitTextureComponents() && hasUnsignedTextureComponent(1)) in sampleQuad2D()
879 if(hasUnsignedTextureComponent(1)) in sampleQuad2D()
895 if(!hasUnsignedTextureComponent(1)) c.y = AddSat(c.y, c.y); // Correct for signed fractions in sampleQuad2D()
901 if(has16bitTextureComponents() && hasUnsignedTextureComponent(2)) in sampleQuad2D()
909 if(hasUnsignedTextureComponent(2)) in sampleQuad2D()
925 if(!hasUnsignedTextureComponent(2)) c.z = AddSat(c.z, c.z); // Correct for signed fractions in sampleQuad2D()
931 if(has16bitTextureComponents() && hasUnsignedTextureComponent(3)) in sampleQuad2D()
939 if(hasUnsignedTextureComponent(3)) in sampleQuad2D()
955 if(!hasUnsignedTextureComponent(3)) c.w = AddSat(c.w, c.w); // Correct for signed fractions in sampleQuad2D()
1051 …if(!hasUnsignedTextureComponent(0) || !hasUnsignedTextureComponent(1) || !hasUnsignedTextureCompon… in sample3D()
1071 …if(componentCount >= 1) { if(hasUnsignedTextureComponent(0)) c[i][j][k].x = MulHigh(As<UShort4>(c[… in sample3D()
1072 …if(componentCount >= 2) { if(hasUnsignedTextureComponent(1)) c[i][j][k].y = MulHigh(As<UShort4>(c[… in sample3D()
1073 …if(componentCount >= 3) { if(hasUnsignedTextureComponent(2)) c[i][j][k].z = MulHigh(As<UShort4>(c[… in sample3D()
1074 …if(componentCount >= 4) { if(hasUnsignedTextureComponent(3)) c[i][j][k].w = MulHigh(As<UShort4>(c[… in sample3D()
1093 if(componentCount >= 1) if(!hasUnsignedTextureComponent(0)) c_.x = AddSat(c_.x, c_.x); in sample3D()
1094 if(componentCount >= 2) if(!hasUnsignedTextureComponent(1)) c_.y = AddSat(c_.y, c_.y); in sample3D()
1095 if(componentCount >= 3) if(!hasUnsignedTextureComponent(2)) c_.z = AddSat(c_.z, c_.z); in sample3D()
1096 if(componentCount >= 4) if(!hasUnsignedTextureComponent(3)) c_.w = AddSat(c_.w, c_.w); in sample3D()
2184 bool SamplerCore::hasUnsignedTextureComponent(int component) const in hasUnsignedTextureComponent() function in sw::SamplerCore