From fcb8f2a2293836cf7815de5885dadf75d69b3bca Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Mon, 23 Jan 2023 21:18:24 +0000 Subject: [PATCH] Apply texture shader compiler generated descriptor shifts These were missed on a hades version upgrade. --- app/src/main/cpp/skyline/gpu/interconnect/common/pipeline.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/interconnect/common/pipeline.inc b/app/src/main/cpp/skyline/gpu/interconnect/common/pipeline.inc index 5db3d3f8..1fb39a26 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/common/pipeline.inc +++ b/app/src/main/cpp/skyline/gpu/interconnect/common/pipeline.inc @@ -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(ctx.executor, secondaryCbufOffset)}; - return {primaryVal | secondaryVal}; + return {.raw = (primaryVal << desc.shift_left) | (secondaryVal << desc.secondary_shift_left)}; } }