Home
last modified time | relevance | path

Searched refs:aMask (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_masking.c75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() local
83 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask); in _swrast_mask_rgba_span()
91 const GLuint aMask = ctx->Color.ColorMask[buf][ACOMP] ? ~0x0 : 0x0; in _swrast_mask_rgba_span() local
99 src[i][ACOMP] = (src[i][ACOMP] & aMask) | (dst[i][ACOMP] & ~aMask); in _swrast_mask_rgba_span()
/external/swiftshader/src/Pipeline/
DPixelRoutine.hpp52 void alphaTest(Int &aMask, Short4 &alpha);
DPixelRoutine.cpp524 void PixelRoutine::alphaTest(Int &aMask, Short4 &alpha) in alphaTest() argument
532 aMask = 0xF; in alphaTest()
535 aMask = 0x0; in alphaTest()
539 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
543 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
547 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
553 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
557 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
561 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
DPixelProgram.cpp585 Int aMask; in alphaTest() local
591 PixelRoutine::alphaTest(aMask, alpha); in alphaTest()
595 cMask[q] &= aMask; in alphaTest()
/external/swiftshader/src/Shader/
DPixelRoutine.hpp52 void alphaTest(Int &aMask, Short4 &alpha);
DPixelRoutine.cpp524 void PixelRoutine::alphaTest(Int &aMask, Short4 &alpha) in alphaTest() argument
532 aMask = 0xF; in alphaTest()
535 aMask = 0x0; in alphaTest()
539 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
543 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
547 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
553 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
557 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
561 aMask = SignMask(PackSigned(cmp, Short4(0x0000))); in alphaTest()
DPixelProgram.cpp586 Int aMask; in alphaTest() local
592 PixelRoutine::alphaTest(aMask, alpha); in alphaTest()
596 cMask[q] &= aMask; in alphaTest()
DPixelPipeline.cpp273 Int aMask; in alphaTest() local
277 PixelRoutine::alphaTest(aMask, current.w); in alphaTest()
281 cMask[q] &= aMask; in alphaTest()
/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp220 Sk4f aMask = Sk4f((aaFlags & GrQuadAAFlags::kLeft) ? 1.f : 0.f, in outset_projected_vertices() local
236 denom = aMask.thenElse(bMask.thenElse(c1x * c2y - c2x * c1y, useC1x.thenElse(c1x, c1y)), in outset_projected_vertices()
240 a = aMask.thenElse(bMask.thenElse(c2x * c3y - c3x * c2y, useC1x.thenElse(-c3x, -c3y)), in outset_projected_vertices()
244 b = bMask.thenElse(aMask.thenElse(c3x * c1y - c1x * c3y, useC2x.thenElse(-c3x, -c3y)), in outset_projected_vertices()