/external/swiftshader/src/Shader/ |
D | PixelRoutine.cpp | 315 Byte8 value = *Pointer<Byte8>(buffer); in stencilTest() 316 Byte8 valueCCW = value; in stencilTest() 320 value &= *Pointer<Byte8>(data + OFFSET(DrawData,stencil[0].testMaskQ)); in stencilTest() 329 valueCCW &= *Pointer<Byte8>(data + OFFSET(DrawData,stencil[1].testMaskQ)); in stencilTest() 334 value &= *Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)); in stencilTest() 335 valueCCW &= *Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)); in stencilTest() 342 void PixelRoutine::stencilTest(Byte8 &value, StencilCompareMode stencilCompareMode, bool CCW) in stencilTest() 344 Byte8 equal; in stencilTest() 349 value = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF); in stencilTest() 352 value = Byte8(0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in stencilTest() [all …]
|
D | PixelRoutine.hpp | 71 void stencilTest(Byte8 &value, StencilCompareMode stencilCompareMode, bool CCW); 72 …void stencilOperation(Byte8 &newValue, Byte8 &bufferValue, StencilOperation stencilPassOperation, … 73 void stencilOperation(Byte8 &output, Byte8 &bufferValue, StencilOperation operation, bool CCW);
|
D | SetupRoutine.cpp | 117 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate() 118 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate() 122 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00,… in generate() 123 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0x… in generate() 136 …*Pointer<Byte8>(primitive + OFFSET(Primitive,clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF,… in generate() 137 …*Pointer<Byte8>(primitive + OFFSET(Primitive,invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x… in generate()
|
D | SamplerCore.cpp | 1792 c.z = UnpackLow(As<Byte8>(c.z), As<Byte8>(c.z)); in sampleTexel() 1793 c.y = UnpackHigh(As<Byte8>(c.y), As<Byte8>(c.y)); in sampleTexel() 1794 c.x = UnpackLow(As<Byte8>(c.x), As<Byte8>(c.x)); in sampleTexel() 1795 c.w = UnpackHigh(As<Byte8>(c.w), As<Byte8>(c.w)); in sampleTexel() 1806 c.x = UnpackLow(As<Byte8>(c.x), As<Byte8>(c.x)); in sampleTexel() 1807 c.y = UnpackHigh(As<Byte8>(c.y), As<Byte8>(c.y)); in sampleTexel() 1808 c.z = UnpackLow(As<Byte8>(c.z), As<Byte8>(c.z)); in sampleTexel() 1809 c.w = UnpackHigh(As<Byte8>(c.w), As<Byte8>(c.w)); in sampleTexel() 1824 c.x = UnpackLow(As<Byte8>(c.x), As<Byte8>(Short4(0))); in sampleTexel() 1825 c.y = UnpackHigh(As<Byte8>(c.y), As<Byte8>(Short4(0))); in sampleTexel() [all …]
|
/external/swiftshader/src/Reactor/ |
D | x86.hpp | 52 RValue<Byte8> paddusb(RValue<Byte8> x, RValue<Byte8> y); 53 RValue<Byte8> psubusb(RValue<Byte8> x, RValue<Byte8> y); 62 RValue<Byte8> pcmpgtb(RValue<SByte8> x, RValue<SByte8> y); 63 RValue<Byte8> pcmpeqb(RValue<Byte8> x, RValue<Byte8> y); 68 RValue<Byte8> packuswb(RValue<Short4> x, RValue<Short4> y); 99 RValue<Int> pmovmskb(RValue<Byte8> x);
|
D | Reactor.cpp | 1283 Byte4::Byte4(RValue<Byte8> cast) in Byte4() 1291 *this = As<Byte4>(Swizzle(As<Byte8>(cast), 0x0246'0246)); in Byte4() 1297 *this = As<Byte4>(Swizzle(As<Byte8>(cast), 0x0246'0246)); in Byte4() 1337 Byte8::Byte8(uint8_t x0, uint8_t x1, uint8_t x2, uint8_t x3, uint8_t x4, uint8_t x5, uint8_t x6, ui… in Byte8() function in rr::Byte8 1343 Byte8::Byte8(RValue<Byte8> rhs) in Byte8() function in rr::Byte8 1348 Byte8::Byte8(const Byte8 &rhs) in Byte8() function in rr::Byte8 1353 Byte8::Byte8(const Reference<Byte8> &rhs) in Byte8() function in rr::Byte8 1358 RValue<Byte8> Byte8::operator=(RValue<Byte8> rhs) in operator =() 1363 RValue<Byte8> Byte8::operator=(const Byte8 &rhs) in operator =() 1368 RValue<Byte8> Byte8::operator=(const Reference<Byte8> &rhs) in operator =() [all …]
|
D | Reactor.hpp | 92 class Byte8; 573 explicit Byte4(RValue<Byte8> cast); 664 class Byte8 : public LValue<Byte8> class 667 Byte8() = default; 668 …Byte8(uint8_t x0, uint8_t x1, uint8_t x2, uint8_t x3, uint8_t x4, uint8_t x5, uint8_t x6, uint8_t … 669 Byte8(RValue<Byte8> rhs); 670 Byte8(const Byte8 &rhs); 671 Byte8(const Reference<Byte8> &rhs); 673 RValue<Byte8> operator=(RValue<Byte8> rhs); 674 RValue<Byte8> operator=(const Byte8 &rhs); [all …]
|
D | LLVMReactor.cpp | 1873 RValue<Byte8> AddSat(RValue<Byte8> x, RValue<Byte8> y) in AddSat() 1879 return As<Byte8>(V(lowerPUADDSAT(V(x.value()), V(y.value())))); in AddSat() 1883 RValue<Byte8> SubSat(RValue<Byte8> x, RValue<Byte8> y) in SubSat() 1889 return As<Byte8>(V(lowerPUSUBSAT(V(x.value()), V(y.value())))); in SubSat() 1893 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() 1912 RValue<Byte8> CmpEQ(RValue<Byte8> x, RValue<Byte8> y) in CmpEQ() 1918 …return As<Byte8>(V(lowerPCMP(llvm::ICmpInst::ICMP_EQ, V(x.value()), V(y.value()), T(Byte8::type())… in CmpEQ() 1922 Type *Byte8::type() in type() 1951 return x86::pmovmskb(As<Byte8>(x)); in SignMask() 1957 RValue<Byte8> CmpGT(RValue<SByte8> x, RValue<SByte8> y) in CmpGT() [all …]
|
D | SubzeroReactor.cpp | 2251 RValue<Byte> Extract(RValue<Byte8> val, int i) in Extract() 2256 RValue<Byte8> Insert(RValue<Byte8> val, RValue<Byte> element, int i) in Insert() 2258 return RValue<Byte8>(Nucleus::createInsertElement(val.value(), element.value(), i)); in Insert() 2262 RValue<Byte8> AddSat(RValue<Byte8> x, RValue<Byte8> y) in AddSat() 2267 Byte8 result; in AddSat() 2288 return RValue<Byte8>(V(result)); in AddSat() 2292 RValue<Byte8> SubSat(RValue<Byte8> x, RValue<Byte8> y) in SubSat() 2297 Byte8 result; in SubSat() 2318 return RValue<Byte8>(V(result)); in SubSat() 2365 RValue<Int> SignMask(RValue<Byte8> x) in SignMask() [all …]
|
D | LLVMReactorDebugInfo.cpp | 425 …diTypes.emplace(T(Byte8::type()), diBuilder->createVectorType(128, 128, diTypes[T(Byte::type())], … in registerBasicTypes()
|
/external/swiftshader/src/Pipeline/ |
D | PixelRoutine.cpp | 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() [all …]
|
D | PixelRoutine.hpp | 69 Byte8 stencilReplaceRef(bool isBack); 71 void stencilTest(Byte8 &value, VkCompareOp stencilCompareMode, bool isBack); 72 …void stencilOperation(Byte8 &newValue, const Byte8 &bufferValue, const PixelProcessor::States::Ste… 73 void stencilOperation(Byte8 &output, const Byte8 &bufferValue, VkStencilOp operation, bool isBack);
|
D | SetupRoutine.cpp | 105 …*Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF… in generate() 106 …*Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0… in generate() 110 …*Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0x00… in generate() 111 …*Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0… in generate() 116 …*Pointer<Byte8>(primitive + OFFSET(Primitive, clockwiseMask)) = Byte8(0xFF, 0xFF, 0xFF, 0xFF, 0xFF… in generate() 117 …*Pointer<Byte8>(primitive + OFFSET(Primitive, invClockwiseMask)) = Byte8(0x00, 0x00, 0x00, 0x00, 0… in generate()
|
D | SamplerCore.cpp | 1551 c.z = UnpackLow(As<Byte8>(Short4(0)), As<Byte8>(c.z)); in sampleTexel() 1552 c.y = UnpackHigh(As<Byte8>(Short4(0)), As<Byte8>(c.y)); in sampleTexel() 1553 c.x = UnpackLow(As<Byte8>(Short4(0)), As<Byte8>(c.x)); in sampleTexel() 1554 c.w = UnpackHigh(As<Byte8>(Short4(0)), As<Byte8>(c.w)); in sampleTexel() 1568 c.x = UnpackLow(As<Byte8>(Short4(0)), As<Byte8>(c.x)); in sampleTexel() 1569 c.y = UnpackHigh(As<Byte8>(Short4(0)), As<Byte8>(c.y)); in sampleTexel() 1570 c.z = UnpackLow(As<Byte8>(Short4(0)), As<Byte8>(c.z)); in sampleTexel() 1571 c.w = UnpackHigh(As<Byte8>(Short4(0)), As<Byte8>(c.w)); in sampleTexel() 1588 c.x = UnpackLow(As<Byte8>(c.x), As<Byte8>(Short4(0))); in sampleTexel() 1589 c.y = UnpackHigh(As<Byte8>(c.y), As<Byte8>(Short4(0))); in sampleTexel() [all …]
|
/external/swiftshader/tests/ReactorUnitTests/ |
D | ReactorUnitTests.cpp | 677 *Pointer<Byte8>(out + 16 * 2) = *Pointer<Byte8>(in + 16 * 2); in TEST() 726 *Pointer<Byte8>(out + 16 * 2) = Byte8(0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20); in TEST() 799 *Pointer<Byte4>(out + 16 * 1 + 4) = Byte4(As<Byte8>(c)); in TEST() 848 …*Pointer<Short4>(out + 16 * (512 + 4)) = UnpackLow(Byte8(1, 2, 3, 4, 5, 6, 7, 8), Byte8(9, 10, 11,… in TEST() 849 …*Pointer<Short4>(out + 16 * (512 + 5)) = UnpackHigh(Byte8(1, 2, 3, 4, 5, 6, 7, 8), Byte8(9, 10, 11… in TEST() 951 *Pointer<Byte8>(out + 16 * 1) = Swizzle(As<Byte8>(c), 0x76543210u); in TEST() 1357 …*Pointer<Byte8>(out + 16 * 2) = CmpEQ(SByte8(1, 2, 3, 4, 5, 6, 7, 8), SByte8(7, 6, 5, 4, 3, 2, 1, … in TEST() 1361 …*Pointer<Byte8>(out + 16 * 5) = CmpGT(SByte8(1, 2, 3, 4, 5, 6, 7, 8), SByte8(7, 6, 5, 4, 3, 2, 1, … in TEST() 1407 *Pointer<Byte8>(out + 8 * 0) = in TEST() 1408 AddSat(Byte8(1, 2, 3, 4, 5, 6, 7, 8), in TEST() [all …]
|