Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
JPikachu
5b84767f25 [vk] Remove shuffle uniform
Fixes green and red lines when using any res that's not 0.75x inside Luigi's Mansion 3
2025-08-02 22:43:36 +01:00

View file

@ -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) {