Browse Source

[vk] Remove shuffle uniform

Fixes green and red lines when using any res that's not 0.75x inside Luigi's Mansion 3
pull/183/head
JPikachu 6 months ago
committed by crueter
parent
commit
314ae9c07e
  1. 8
      src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp

8
src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@ -68,9 +71,10 @@ Id GetMaxThreadId(EmitContext& ctx, Id thread_id, Id clamp, Id segmentation_mask
}
Id SelectValue(EmitContext& ctx, Id in_range, Id value, Id src_thread_id) {
return ctx.OpSelect(
/*return ctx.OpSelect(
ctx.U32[1], in_range,
ctx.OpGroupNonUniformShuffle(ctx.U32[1], SubgroupScope(ctx), value, src_thread_id), value);
ctx.OpGroupNonUniformShuffle(ctx.U32[1], SubgroupScope(ctx), value, src_thread_id), value);*/
return value;
}
Id AddPartitionBase(EmitContext& ctx, Id thread_id) {

Loading…
Cancel
Save