mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-10 12:41:10 +01:00
[vulkan] Subgroups gating correction
This commit is contained in:
parent
83e1a676c5
commit
bb63996182
6 changed files with 73 additions and 6 deletions
|
|
@ -435,7 +435,7 @@ void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ct
|
|||
}
|
||||
if ((info.uses_subgroup_vote || info.uses_subgroup_invocation_id ||
|
||||
info.uses_subgroup_shuffles) &&
|
||||
profile.support_vote) {
|
||||
profile.support_vote && profile.SupportsSubgroupStage(ctx.stage)) {
|
||||
ctx.AddCapability(spv::Capability::GroupNonUniformBallot);
|
||||
ctx.AddCapability(spv::Capability::GroupNonUniformShuffle);
|
||||
if (!profile.warp_size_potentially_larger_than_guest) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue