Compilation error on Ubuntu 22.04 LTS
I use these to build: mkdir build cd build; cmake .. make -j2
[ FAIL ] SPIRV TraceAmbient.cs.hlsl {main} {}
dxc: ./external/SPIRV-Tools/source/opt/pass.cpp:145: uint32_t spvtools::opt::Pass::GenerateCopy(spvtools::opt::Instruction*, uint32_t, spvtools::opt::Instruction*): Assertion false && "Don't know how to copy this type. Code is likely illegal."' failed. Aborted (core dumped) [ 88%] Building CXX object External/NRD/CMakeFiles/NRD.dir/Source/Reblur.cpp.o [ FAIL ] SPIRV TraceTransparent.cs.hlsl {main} {} dxc: ./external/SPIRV-Tools/source/opt/pass.cpp:145: uint32_t spvtools::opt::Pass::GenerateCopy(spvtools::opt::Instruction*, uint32_t, spvtools::opt::Instruction*): Assertion false && "Don't know how to copy this type. Code is likely illegal."' failed.
Aborted (core dumped)
[ FAIL ] SPIRV TraceOpaque.cs.hlsl {main} {}
dxc: ./external/SPIRV-Tools/source/opt/pass.cpp:145: uint32_t spvtools::opt::Pass::GenerateCopy(spvtools::opt::Instruction*, uint32_t, spvtools::opt::Instruction*): Assertion `false && "Don't know how to copy this type. Code is likely illegal."' failed.
Aborted (core dumped)