From dccd179ba1c4179fda3eedd928d63fc82c777220 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Thu, 22 Aug 2019 10:19:49 -0700 Subject: mesa/spirv: Set a few more extensions Reviewed-by: Timothy Arceri --- src/mesa/main/spirv_extensions.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/main/spirv_extensions.c b/src/mesa/main/spirv_extensions.c index 4dd637b6607..cc437e38b39 100644 --- a/src/mesa/main/spirv_extensions.c +++ b/src/mesa/main/spirv_extensions.c @@ -103,8 +103,11 @@ _mesa_fill_supported_spirv_extensions(struct spirv_supported_extensions *ext, ext->supported[SPV_KHR_shader_draw_parameters] = cap->draw_parameters; ext->supported[SPV_KHR_multiview] = cap->multiview; + ext->supported[SPV_KHR_storage_buffer_storage_class] = true; ext->supported[SPV_KHR_variable_pointers] = cap->variable_pointers; ext->supported[SPV_AMD_gcn_shader] = cap->amd_gcn_shader; + ext->supported[SPV_KHR_shader_ballot] = cap->subgroup_ballot; + ext->supported[SPV_KHR_subgroup_vote] = cap->subgroup_vote; for (unsigned i = 0; i < SPV_EXTENSIONS_COUNT; i++) { if (ext->supported[i]) -- cgit v1.2.3