Apply texture shader compiler generated descriptor shifts

These were missed on a hades version upgrade.
This commit is contained in:
Billy Laws 2023-01-23 21:18:24 +00:00
parent bbef006051
commit fcb8f2a229

View File

@ -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)};
}
}