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

Method ReadTexture8H

pcsx2/GS/GSLocalMemoryMultiISA.cpp:1135–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1133}
1134
1135void GSLocalMemoryFunctions::ReadTexture8H(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1136{
1137 const u32* pal = mem.m_clut;
1138
1139 foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle32), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src)
1140 {
1141 GSBlock::ReadAndExpandBlock8H_32(src, read_dst, dstpitch, pal);
1142 });
1143}
1144
1145#if _M_SSE == 0x501
1146void GSLocalMemoryFunctions::ReadTexture8HSW(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)

Callers

nothing calls this directly

Calls 3

ReadAndExpandBlock8H_32Function · 0.85
assertSizesMatchMethod · 0.80
foreachBlockFunction · 0.70

Tested by

no test coverage detected