DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

Crash when noinline/export function with node objects for lib_6_x

Open python3kgae opened this issue 1 year ago • 1 comments

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 buf0;

[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

python3kgae avatar Feb 08 '24 17:02 python3kgae

See the XFAIL tests added in #6231 added for issue #6124

pow2clk avatar Feb 20 '24 20:02 pow2clk