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

Method ReadTexture32

pcsx2/GS/GSLocalMemoryMultiISA.cpp:1051–1057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049///////////////////
1050
1051void GSLocalMemoryFunctions::ReadTexture32(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1052{
1053 foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle32), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src)
1054 {
1055 GSBlock::ReadBlock32(src, read_dst, dstpitch);
1056 });
1057}
1058
1059void GSLocalMemoryFunctions::ReadTexture24(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1060{

Callers

nothing calls this directly

Calls 3

ReadBlock32Function · 0.85
assertSizesMatchMethod · 0.80
foreachBlockFunction · 0.70

Tested by

no test coverage detected