diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-08-22 10:19:49 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-09-10 14:36:46 -0700 |
commit | dccd179ba1c4179fda3eedd928d63fc82c777220 (patch) | |
tree | cc6a06149aa2f70c264160fbdca1f414722982ae /src/mesa | |
parent | 1a12b0fe36fa50d8591c998723e25bdfbdea8b9e (diff) |
mesa/spirv: Set a few more extensions
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/spirv_extensions.c | 3 |
1 files changed, 3 insertions, 0 deletions
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]) |