mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 03:11:51 +01:00
Apply texture shader compiler generated descriptor shifts
These were missed on a hades version upgrade.
This commit is contained in:
parent
bbef006051
commit
fcb8f2a229
@ -70,7 +70,7 @@ namespace skyline::gpu::interconnect {
|
||||
ConstantBuffer &secondaryCbuf{constantBuffers[desc.secondary_cbuf_index]};
|
||||
size_t secondaryCbufOffset{desc.secondary_cbuf_offset + elemOffset};
|
||||
u32 secondaryVal{secondaryCbuf.Read<u32>(ctx.executor, secondaryCbufOffset)};
|
||||
return {primaryVal | secondaryVal};
|
||||
return {.raw = (primaryVal << desc.shift_left) | (secondaryVal << desc.secondary_shift_left)};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user