radv: enable subgroup capabilities

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Daniel Schürmann
2018-03-06 15:05:13 +01:00
committed by Bas Nieuwenhuizen
parent 4b0616e533
commit f2c6a55061
2 changed files with 14 additions and 3 deletions

View File

@@ -213,7 +213,11 @@ radv_shader_compile_to_nir(struct radv_device *device,
.tessellation = true,
.int64 = true,
.multiview = true,
.subgroup_ballot = true,
.subgroup_basic = true,
.subgroup_quad = true,
.subgroup_shuffle = true,
.subgroup_vote = true,
.variable_pointers = true,
.gcn_shader = true,
.trinary_minmax = true,
@@ -283,7 +287,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
.lower_to_scalar = 1,
.lower_subgroup_masks = 1,
.lower_shuffle = 1,
.lower_quad = 1,
.lower_shuffle_to_32bit = 1,
.lower_vote_eq_to_ballot = 1,
});
radv_optimize_nir(nir);