mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 08:45:45 +00:00
glsl: Implement VOTE
This commit is contained in:
parent
1e59e72a48
commit
5a3864d8c4
4 changed files with 64 additions and 50 deletions
|
@ -148,6 +148,7 @@ void EmitContext::SetupExtensions(std::string&) {
|
|||
if (info.uses_subgroup_invocation_id || info.uses_subgroup_mask || info.uses_subgroup_vote ||
|
||||
info.uses_subgroup_shuffles || info.uses_fswzadd) {
|
||||
header += "#extension GL_ARB_shader_ballot : enable\n";
|
||||
header += "#extension GL_ARB_shader_group_vote : enable\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue