MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ReadTexture8P

Method ReadTexture8P

pcsx2/GS/GSLocalMemoryMultiISA.cpp:1277–1283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1275// 32/8
1276
1277void GSLocalMemoryFunctions::ReadTexture8P(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1278{
1279 foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle8), mem, r, dst, dstpitch, 8, [&](u8* read_dst, const u8* src)
1280 {
1281 GSBlock::ReadBlock8(src, read_dst, dstpitch);
1282 });
1283}
1284
1285void GSLocalMemoryFunctions::ReadTexture4P(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1286{

Callers

nothing calls this directly

Calls 3

ReadBlock8Function · 0.85
assertSizesMatchMethod · 0.80
foreachBlockFunction · 0.70

Tested by

no test coverage detected