summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/codegen
diff options
context:
space:
mode:
authorM Henning <drawoc@darkrefraction.com>2021-12-29 20:06:26 -0500
committerMarge Bot <emma+marge@anholt.net>2022-01-03 17:35:05 +0000
commitd28677cfd96b17904e39bde58dbe974a69c05d2a (patch)
tree8157d547a15c7c3c5a7a4bf0cc68dc740e43f1ea /src/gallium/drivers/nouveau/codegen
parentce723950082e5abc52e5d6c2fa5c5c87cc54d617 (diff)
nouveau/nir: Lower 64-bit phis
Fixes arb_gpu_shader_fp64-fs-non-uniform-control-flow-ubo on kepler with NV50_PROG_USE_NIR=1 Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14343>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
index e28c94f52ef..1473f01b20f 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
@@ -3172,6 +3172,7 @@ Converter::run()
NIR_PASS(progress, nir, nir_copy_prop);
NIR_PASS(progress, nir, nir_opt_dce);
NIR_PASS(progress, nir, nir_opt_dead_cf);
+ NIR_PASS(progress, nir, nir_lower_64bit_phis);
} while (progress);
NIR_PASS_V(nir, nir_lower_bool_to_int32);