$ naga data97.wgsl bad.hlsl
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
Running `/home/jimb/rust/wgpu/target/debug/naga data97.wgsl bad.hlsl`
$ ~/DirectXShaderCompiler/build/bin/dxc -Wno-parentheses-equality -Zi -Qembed_debug -Od -HV 2018 -T cs_6_7 -E main bad.hlsl
Error: assert()
File:
(0)
Func:
Illegal instruction (core dumped)
$
The HLSL that Naga generates for
data97.wgsl(extracted from the Bevy WebGPU demos) in the attached.zipfile causes DXC to crash.naga-crashes-dxc.zip