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

Method ReadTexture8HSW

pcsx2/GS/GSLocalMemoryMultiISA.cpp:1146–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144
1145#if _M_SSE == 0x501
1146void GSLocalMemoryFunctions::ReadTexture8HSW(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1147{
1148 const u32* pal = mem.m_clut;
1149
1150 foreachBlock(off.assertSizesMatch(GSLocalMemory::swizzle8), mem, r, dst, dstpitch, 32, [&](u8* read_dst, const u8* src)
1151 {
1152 GSBlock::ReadAndExpandBlock8_32HSW(src, read_dst, dstpitch, pal);
1153 });
1154}
1155
1156void GSLocalMemoryFunctions::ReadTexture8HHSW(GSLocalMemory& mem, const GSOffset& off, const GSVector4i& r, u8* dst, int dstpitch, const GIFRegTEXA& TEXA)
1157{

Callers

nothing calls this directly

Calls 3

assertSizesMatchMethod · 0.80
foreachBlockFunction · 0.70

Tested by

no test coverage detected