Commit cb9bf9ac by Chris Forbes

Add remaining required SPIRV extension names

We don't have to actually do anything for either of these as all the features introduced are gated by capabilities which we don't have to support. We must accept the OpExtension though. Bug: b/130937460 Change-Id: Iea869e32f165c4a2457f89fcf953fc08f1e346b1 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31128Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 7fe5a06d
......@@ -928,6 +928,8 @@ namespace sw
// Part of core SPIR-V 1.3. Vulkan 1.1 implementations must also accept the pre-1.3
// extension per Appendix A, `Vulkan Environment for SPIR-V`.
if (!strcmp(ext, "SPV_KHR_storage_buffer_storage_class")) break;
if (!strcmp(ext, "SPV_KHR_shader_draw_parameters")) break;
if (!strcmp(ext, "SPV_KHR_16bit_storage")) break;
if (!strcmp(ext, "SPV_KHR_variable_pointers")) break;
UNSUPPORTED("SPIR-V Extension: %s", ext);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment