spirv2dxil: Support int64 and doubles

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22952>
This commit is contained in:
Jesse Natalie
2023-05-10 16:02:46 -07:00
committed by Marge Bot
parent 95d93b24f6
commit 7cdbf4f065
@@ -55,6 +55,8 @@ spirv_to_nir_options = {
.descriptor_array_non_uniform_indexing = true,
.image_read_without_format = true,
.image_write_without_format = true,
.int64 = true,
.float64 = true,
},
.ubo_addr_format = nir_address_format_32bit_index_offset,
.ssbo_addr_format = nir_address_format_32bit_index_offset,
@@ -1127,6 +1129,8 @@ dxil_spirv_nir_passes(nir_shader *nir,
} while (progress);
}
NIR_PASS_V(nir, nir_lower_doubles, NULL, nir->options->lower_doubles_options);
if (conf->declared_read_only_images_as_srvs)
NIR_PASS_V(nir, nir_lower_readonly_images_to_tex, true);
nir_lower_tex_options lower_tex_options = {