spirv2dxil: Add some more supported caps
authorJesse Natalie <jenatali@microsoft.com>
Thu, 23 Mar 2023 15:36:22 +0000 (08:36 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Apr 2023 22:08:28 +0000 (22:08 +0000)
8-bit loads and stores work via lowering, but they do work

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22225>

src/microsoft/spirv_to_dxil/dxil_spirv_nir.c

index 5537307..43de965 100644 (file)
@@ -49,9 +49,12 @@ spirv_to_nir_options = {
       .float16 = true,
       .int16 = true,
       .storage_16bit = true,
+      .storage_8bit = true,
       .descriptor_indexing = true,
       .runtime_descriptor_array = true,
       .descriptor_array_non_uniform_indexing = true,
+      .image_read_without_format = true,
+      .image_write_without_format = true,
    },
    .ubo_addr_format = nir_address_format_32bit_index_offset,
    .ssbo_addr_format = nir_address_format_32bit_index_offset,