mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Vulkan: Enable subgroupShuffle.
It is used as workaround for the missing subgroupBroadcastDynamicId flag on SPIR-V < 1.5.
This commit is contained in:
parent
1571098783
commit
196c684ac1
3 changed files with 14 additions and 3 deletions
|
@ -79,6 +79,7 @@ static const char SUBGROUP_HELPER_HEADER[] = R"(
|
|||
#extension GL_KHR_shader_subgroup_basic : enable
|
||||
#extension GL_KHR_shader_subgroup_arithmetic : enable
|
||||
#extension GL_KHR_shader_subgroup_ballot : enable
|
||||
#extension GL_KHR_shader_subgroup_shuffle : enable
|
||||
|
||||
#define SUPPORTS_SUBGROUP_REDUCTION 1
|
||||
#define IS_HELPER_INVOCATION gl_HelperInvocation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue