DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
Crash when noinline/export function with node objects for lib_6_x
Description
DXC crashed when use noinline/export function with node objects for lib_6_x.
Steps to Reproduce
Compile following shader with dxc -T lib_6_x
struct RECORD { half h; };
DispatchNodeInputRecord<RECORD> wrapper(DispatchNodeInputRecord<RECORD> t);
RWBuffer
[Shader("node")] [NumThreads(1024,1,1)] [NodeDispatchGrid(64,1,1)] [NodeLaunch("broadcasting")] void node_DispatchNodeInputRecord(DispatchNodeInputRecord<RECORD> input) { buf0[0] = wrapper(input).Get().h; }
Actual Behavior
Crashed
See the XFAIL tests added in #6231 added for issue #6124