From 204102099a282bbccf63eb2d2b87a54f3ebaedf1 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Fri, 28 Jan 2022 12:55:10 -0800 Subject: [PATCH] d3d12: Lower [de]construction of doubles via math ops into pack/unpack ops Reviewed-by: Bill Kristiansen Reviewed-By: Sil Vilerino Part-of: --- src/gallium/drivers/d3d12/d3d12_compiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/d3d12/d3d12_compiler.cpp b/src/gallium/drivers/d3d12/d3d12_compiler.cpp index fa76d1c312c..aa5acd63fc5 100644 --- a/src/gallium/drivers/d3d12/d3d12_compiler.cpp +++ b/src/gallium/drivers/d3d12/d3d12_compiler.cpp @@ -176,6 +176,7 @@ compile_nir(struct d3d12_context *ctx, struct d3d12_shader_selector *sel, NIR_PASS_V(nir, dxil_nir_lower_bool_input); NIR_PASS_V(nir, dxil_nir_lower_loads_stores_to_dxil); NIR_PASS_V(nir, dxil_nir_lower_atomics_to_dxil); + NIR_PASS_V(nir, dxil_nir_lower_double_math); if (key->fs.multisample_disabled) NIR_PASS_V(nir, d3d12_disable_multisampling);