Resolve module hierarchy and concatenate files to a single buffer, which will be compiled to a temporary buffer.
Something like :SlangCompile hlsl.
The output buffer would get appropriate syntax highlighting (GLSL-ish for SPIR-V disassembly, C for CUDA/MSL). This is the single most useful thing missing from the Slang editing experience — being able to instantly see what your shader actually compiles to on a given target without leaving the editor.
Resolve module hierarchy and concatenate files to a single buffer, which will be compiled to a temporary buffer.
Something like
:SlangCompile hlsl.The output buffer would get appropriate syntax highlighting (GLSL-ish for SPIR-V disassembly, C for CUDA/MSL). This is the single most useful thing missing from the Slang editing experience — being able to instantly see what your shader actually compiles to on a given target without leaving the editor.