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

Method ReadTexture8HHSW

pcsx2/GS/GSLocalMemoryMultiISA.cpp:1156–1164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156void GSLocalMemoryFunctions::ReadTexture8HHSW(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1157{
1158 const u32* pal = mem.m_clut;
1159
1160 foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle32), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src)
1161 {
1162 GSBlock::ReadAndExpandBlock8H_32HSW(src, read_dst, dstpitch, pal);
1163 });
1164}
1165#endif
1166
1167void GSLocalMemoryFunctions::ReadTexture4HL(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)

Callers

nothing calls this directly

Calls 3

assertSizesMatchMethod · 0.80
foreachBlockFunction · 0.70

Tested by

no test coverage detected