mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
radv: enable VK_SUBGROUP_FEATURE_ARITHMETIC_BIT
All CTS pass on Polaris/Vega with LLVM 6, 7 and master, so I think it's safe to enable the feature. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
febdc13a6c
commit
35656823b9
2 changed files with 2 additions and 0 deletions
|
|
@ -1061,6 +1061,7 @@ void radv_GetPhysicalDeviceProperties2(
|
|||
properties->subgroupSize = 64;
|
||||
properties->supportedStages = VK_SHADER_STAGE_ALL;
|
||||
properties->supportedOperations =
|
||||
VK_SUBGROUP_FEATURE_ARITHMETIC_BIT |
|
||||
VK_SUBGROUP_FEATURE_BASIC_BIT |
|
||||
VK_SUBGROUP_FEATURE_BALLOT_BIT |
|
||||
VK_SUBGROUP_FEATURE_QUAD_BIT |
|
||||
|
|
|
|||
|
|
@ -212,6 +212,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
|||
.int64 = true,
|
||||
.int16 = true,
|
||||
.multiview = true,
|
||||
.subgroup_arithmetic = true,
|
||||
.subgroup_ballot = true,
|
||||
.subgroup_basic = true,
|
||||
.subgroup_quad = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue