Lines Matching refs:Byte8
360 Byte8 value = *Pointer<Byte8>(buffer) & Byte8(-1, -1, 0, 0, 0, 0, 0, 0); in stencilTest()
361 value = value | (*Pointer<Byte8>(buffer + pitch - 2) & Byte8(0, 0, -1, -1, 0, 0, 0, 0)); in stencilTest()
362 Byte8 valueBack = value; in stencilTest()
366 value &= *Pointer<Byte8>(data + OFFSET(DrawData, stencil[0].testMaskQ)); in stencilTest()
373 valueBack &= *Pointer<Byte8>(data + OFFSET(DrawData, stencil[1].testMaskQ)); in stencilTest()
378 value &= *Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)); in stencilTest()
379 valueBack &= *Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)); in stencilTest()
385 void PixelRoutine::stencilTest(Byte8 &value, VkCompareOp stencilCompareMode, bool isBack) in stencilTest()
387 Byte8 equal; in stencilTest()
392 value = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF); in stencilTest()
395 value = Byte8(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in stencilTest()
398 value += Byte8(0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80); in stencilTest()
402 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedQ))); in stencilTest()
405 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedQ))); in stencilTest()
406 value ^= Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF); in stencilTest()
410 equal = CmpEQ(equal, *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedQ))); in stencilTest()
411 value += Byte8(0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80); in stencilTest()
416 equal = *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceMaskedSignedQ)); in stencilTest()
417 value += Byte8(0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80); in stencilTest()
422 value += Byte8(0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80); in stencilTest()
424 value ^= Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF); in stencilTest()
737 Byte8 bufferValue = *Pointer<Byte8>(buffer) & Byte8(-1, -1, 0, 0, 0, 0, 0, 0); in writeStencil()
738 …bufferValue = bufferValue | (*Pointer<Byte8>(buffer + pitch - 2) & Byte8(0, 0, -1, -1, 0, 0, 0, 0)… in writeStencil()
739 Byte8 newValue; in writeStencil()
744 Byte8 maskedValue = bufferValue; in writeStencil()
745 newValue &= *Pointer<Byte8>(data + OFFSET(DrawData, stencil[0].writeMaskQ)); in writeStencil()
746 maskedValue &= *Pointer<Byte8>(data + OFFSET(DrawData, stencil[0].invWriteMaskQ)); in writeStencil()
750 Byte8 newValueBack; in writeStencil()
756 Byte8 maskedValue = bufferValue; in writeStencil()
757 newValueBack &= *Pointer<Byte8>(data + OFFSET(DrawData, stencil[1].writeMaskQ)); in writeStencil()
758 maskedValue &= *Pointer<Byte8>(data + OFFSET(DrawData, stencil[1].invWriteMaskQ)); in writeStencil()
762 newValue &= *Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)); in writeStencil()
763 newValueBack &= *Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)); in writeStencil()
766 newValue &= *Pointer<Byte8>(constants + OFFSET(Constants, maskB4Q) + 8 * cMask); in writeStencil()
767 bufferValue &= *Pointer<Byte8>(constants + OFFSET(Constants, invMaskB4Q) + 8 * cMask); in writeStencil()
774 void PixelRoutine::stencilOperation(Byte8 &newValue, const Byte8 &bufferValue, const PixelProcessor… in stencilOperation()
776 Byte8 &pass = newValue; in stencilOperation()
777 Byte8 fail; in stencilOperation()
778 Byte8 zFail; in stencilOperation()
796 pass &= *Pointer<Byte8>(constants + OFFSET(Constants, maskB4Q) + 8 * zMask); in stencilOperation()
797 zFail &= *Pointer<Byte8>(constants + OFFSET(Constants, invMaskB4Q) + 8 * zMask); in stencilOperation()
801 pass &= *Pointer<Byte8>(constants + OFFSET(Constants, maskB4Q) + 8 * sMask); in stencilOperation()
802 fail &= *Pointer<Byte8>(constants + OFFSET(Constants, invMaskB4Q) + 8 * sMask); in stencilOperation()
807 Byte8 PixelRoutine::stencilReplaceRef(bool isBack) in stencilReplaceRef()
823 return As<Byte8>(sRefDuplicated); in stencilReplaceRef()
827 return *Pointer<Byte8>(data + OFFSET(DrawData, stencil[isBack].referenceQ)); in stencilReplaceRef()
830 void PixelRoutine::stencilOperation(Byte8 &output, const Byte8 &bufferValue, VkStencilOp operation,… in stencilOperation()
838 output = Byte8(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in stencilOperation()
844 output = AddSat(bufferValue, Byte8(1, 1, 1, 1, 1, 1, 1, 1)); in stencilOperation()
847 output = SubSat(bufferValue, Byte8(1, 1, 1, 1, 1, 1, 1, 1)); in stencilOperation()
850 output = bufferValue ^ Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF); in stencilOperation()
853 output = bufferValue + Byte8(1, 1, 1, 1, 1, 1, 1, 1); in stencilOperation()
856 output = bufferValue - Byte8(1, 1, 1, 1, 1, 1, 1, 1); in stencilOperation()
1054 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(c23)); in readPixel()
1055 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(c23)); in readPixel()
1057 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.y)); in readPixel()
1058 pixel.x = UnpackHigh(As<Byte8>(pixel.x), As<Byte8>(pixel.y)); in readPixel()
1061 pixel.x = UnpackLow(As<Byte8>(pixel.x), As<Byte8>(pixel.x)); in readPixel()
1062 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(pixel.y)); in readPixel()
1063 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.z)); in readPixel()
1064 pixel.w = UnpackHigh(As<Byte8>(pixel.w), As<Byte8>(pixel.w)); in readPixel()
1074 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(c23)); in readPixel()
1075 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(c23)); in readPixel()
1077 pixel.z = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.y)); in readPixel()
1078 pixel.x = UnpackHigh(As<Byte8>(pixel.x), As<Byte8>(pixel.y)); in readPixel()
1081 pixel.x = UnpackLow(As<Byte8>(pixel.z), As<Byte8>(pixel.z)); in readPixel()
1082 pixel.y = UnpackHigh(As<Byte8>(pixel.y), As<Byte8>(pixel.y)); in readPixel()
1083 pixel.z = UnpackLow(As<Byte8>(pixel.w), As<Byte8>(pixel.w)); in readPixel()
1084 pixel.w = UnpackHigh(As<Byte8>(pixel.w), As<Byte8>(pixel.w)); in readPixel()
1091 pixel.x = UnpackLow(As<Byte8>(pixel.x), As<Byte8>(pixel.x)); in readPixel()
1365 current.z = UnpackLow(As<Byte8>(current.z), As<Byte8>(current.y)); in writeColor()
1366 current.x = UnpackHigh(As<Byte8>(current.x), As<Byte8>(current.y)); in writeColor()
1382 current.z = UnpackLow(As<Byte8>(current.z), As<Byte8>(current.y)); in writeColor()
1383 current.x = UnpackHigh(As<Byte8>(current.x), As<Byte8>(current.y)); in writeColor()
1403 current.z = UnpackLow(As<Byte8>(current.z), As<Byte8>(current.y)); in writeColor()
1404 current.x = UnpackHigh(As<Byte8>(current.x), As<Byte8>(current.y)); in writeColor()
1420 current.z = UnpackLow(As<Byte8>(current.z), As<Byte8>(current.y)); in writeColor()
1421 current.x = UnpackHigh(As<Byte8>(current.x), As<Byte8>(current.y)); in writeColor()
1432 current.x = UnpackLow(As<Byte8>(current.x), As<Byte8>(current.y)); in writeColor()