From: Caio Marcelo de Oliveira Filho Date: Thu, 22 Aug 2019 17:19:49 +0000 (-0700) Subject: mesa/spirv: Set a few more extensions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dccd179ba1c4179fda3eedd928d63fc82c777220;p=mesa.git mesa/spirv: Set a few more extensions Reviewed-by: Timothy Arceri --- 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])