| 1095 | } |
| 1096 | |
| 1097 | void GSLocalMemoryFunctions::ReadTexture16(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA) |
| 1098 | { |
| 1099 | if (TEXA.AEM) |
| 1100 | { |
| 1101 | foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle16), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src) |
| 1102 | { |
| 1103 | GSBlock::ReadAndExpandBlock16<true>(src, read_dst, dstpitch, TEXA); |
| 1104 | }); |
| 1105 | } |
| 1106 | else |
| 1107 | { |
| 1108 | foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle16), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src) |
| 1109 | { |
| 1110 | GSBlock::ReadAndExpandBlock16<false>(src, read_dst, dstpitch, TEXA); |
| 1111 | }); |
| 1112 | } |
| 1113 | } |
| 1114 | |
| 1115 | void GSLocalMemoryFunctions::ReadTexture8(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA) |
| 1116 | { |
nothing calls this directly
no test coverage detected