Support ballot operations with divergent control flow on Adreno

This commit is contained in:
Gabriel A 2023-08-21 14:01:45 -03:00 committed by Emmanuel Hansen
parent dca4091930
commit 698ac0413b
11 changed files with 66 additions and 6 deletions

View file

@ -328,6 +328,9 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
case Instruction.FSIEnd:
context.Info.HelperFunctionsMask |= HelperFunctionsMask.FSI;
break;
case Instruction.Ballot:
context.Info.HelperFunctionsMask |= HelperFunctionsMask.Ballot;
break;
}
}