Description
DXC seg faults when using -fcgl flag and the shader contains a function with a resource argument.
Steps to Reproduce
dxc -T cs_6_8 -fcgl test.hlsl
RWByteAddressBuffer OutBuff : register(u0);
void foo(RWByteAddressBuffer Buf) {
}
[numthreads(8, 1, 1)]
void main() {
foo(OutBuff);
}
https://godbolt.org/z/eMcGq84dd
Actual Behavior
DXC crashes
Environment
- DXC version: trunk
- Host Operating System: linux or windows
Description
DXC seg faults when using
-fcglflag and the shader contains a function with a resource argument.Steps to Reproduce
dxc -T cs_6_8 -fcgl test.hlslhttps://godbolt.org/z/eMcGq84dd
Actual Behavior
DXC crashes
Environment