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

Method ReadTexture4HL

pcsx2/GS/GSLocalMemoryMultiISA.cpp:1167–1175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165#endif
1166
1167void GSLocalMemoryFunctions::ReadTexture4HL(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1168{
1169 const u32* pal = mem.m_clut;
1170
1171 foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle32), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src)
1172 {
1173 GSBlock::ReadAndExpandBlock4HL_32(src, read_dst, dstpitch, pal);
1174 });
1175}
1176
1177void GSLocalMemoryFunctions::ReadTexture4HH(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1178{

Callers

nothing calls this directly

Calls 3

ReadAndExpandBlock4HL_32Function · 0.85
assertSizesMatchMethod · 0.80
foreachBlockFunction · 0.70

Tested by

no test coverage detected