| 1057 | } |
| 1058 | |
| 1059 | void GSLocalMemoryFunctions::ReadTexture24(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA) |
| 1060 | { |
| 1061 | if (TEXA.AEM) |
| 1062 | { |
| 1063 | foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle32), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src) |
| 1064 | { |
| 1065 | GSBlock::ReadAndExpandBlock24<true>(src, read_dst, dstpitch, TEXA); |
| 1066 | }); |
| 1067 | } |
| 1068 | else |
| 1069 | { |
| 1070 | foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle32), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src) |
| 1071 | { |
| 1072 | GSBlock::ReadAndExpandBlock24<false>(src, read_dst, dstpitch, TEXA); |
| 1073 | }); |
| 1074 | } |
| 1075 | } |
| 1076 | |
| 1077 | void GSLocalMemoryFunctions::ReadTextureGPU24(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA) |
| 1078 | { |
nothing calls this directly
no test coverage detected