From 6019c5f48854600d48d771c0a13fc41b353f314e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 19 Aug 2023 11:14:30 +0200 Subject: [PATCH] [ci] Specify -HV 2018 to dxc This avoids breaking the build with the latest release of dxc, which made HLSL the default. --- xtask/src/main.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 17156db735..48e3f52764 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -255,7 +255,14 @@ fn run(args: Args) -> anyhow::Result<()> { bin, file, config_item, - &["-Wno-parentheses-equality", "-Zi", "-Qembed_debug", "-Od"], + &[ + "-Wno-parentheses-equality", + "-Zi", + "-Qembed_debug", + "-Od", + "-HV", + "2018", + ], ) }) }