Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DBlitter.cpp427 bool writeA = state.writeAlpha; in write() local
428 bool writeRGBA = writeR && writeG && writeB && writeA; in write()
436 if(writeA) { *Pointer<Byte>(element) = Byte(RoundInt(Float(c.w))); } in write()
449 if(writeA) { *Pointer<Byte>(element + 3) = Byte(RoundInt(Float(c.w))); } in write()
464 if(writeA) { *Pointer<Byte>(element + 3) = Byte(RoundInt(Float(c.w))); } in write()
478 if(writeA) { *Pointer<Byte>(element + 3) = Byte(0xFF); } in write()
493 if(writeA) { *Pointer<Byte>(element + 3) = Byte(0xFF); } in write()
516 if(writeA) { *Pointer<Float>(element + 12) = c.w; } in write()
521 if(writeA) { *Pointer<Float>(element + 12) = 1.0f; } in write()
543 if(writeA) { *Pointer<SByte>(element + 3) = SByte(RoundInt(Float(c.w))); } in write()
[all …]
/external/swiftshader/src/Device/
DBlitter.cpp518 bool writeA = state.writeAlpha; in write() local
519 bool writeRGBA = writeR && writeG && writeB && writeA; in write()
544 if(writeR || writeG || writeB || writeA) in write()
549 …(writeA ? (UShort(RoundInt(Float(c.w))) & UShort(0xF)) : (*Pointer<UShort>(element) & UShort(0xF00… in write()
562 unsigned short mask = (writeA ? 0x000F : 0x0000) | in write()
587 if(writeA) { *Pointer<Byte>(element + 3) = Byte(RoundInt(Float(c.w))); } in write()
619 if(writeA) { *Pointer<Byte>(element + 3) = Byte(RoundInt(Float(c.w))); } in write()
632 if(writeA) { *Pointer<Float>(element + 12) = c.w; } in write()
655 if(writeA) { *Pointer<Half>(element + 6) = Half(c.w); } in write()
729 if(writeA) { *Pointer<SByte>(element + 3) = SByte(RoundInt(Float(c.w))); } in write()
[all …]