mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
glasm: Implement shuffle and vote instructions on GLASM
This commit is contained in:
parent
3e0e8c952d
commit
7273fcab95
10 changed files with 166 additions and 100 deletions
|
@ -1168,7 +1168,7 @@ void EmitContext::DefineInputs(const Info& info) {
|
|||
subgroup_mask_gt = DefineInput(*this, U32[4], false, spv::BuiltIn::SubgroupGtMaskKHR);
|
||||
subgroup_mask_ge = DefineInput(*this, U32[4], false, spv::BuiltIn::SubgroupGeMaskKHR);
|
||||
}
|
||||
if (info.uses_subgroup_invocation_id ||
|
||||
if (info.uses_subgroup_invocation_id || info.uses_subgroup_shuffles ||
|
||||
(profile.warp_size_potentially_larger_than_guest &&
|
||||
(info.uses_subgroup_vote || info.uses_subgroup_mask))) {
|
||||
subgroup_local_invocation_id =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue