DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

DXC crashes on float input with SV_DispatchThreadID semantic

Open tristanlabelle opened this issue 5 years ago • 1 comments

Repro:

[numthreads(1, 1, 1)]
void main(float3 tid : SV_DispatchThreadID) {}

We should also validate bools and structs, any non-int types.

tristanlabelle avatar Jun 25 '19 22:06 tristanlabelle

Reopened because fix was reverted https://godbolt.org/z/h59x74rxz

Seeing some weird discrepancies between godbolt and my local windows install. Linux vs windows maybe. Godbolt compiles successfully, which is wrong. Windows crashes, which is wronger.

pow2clk avatar Sep 26 '23 15:09 pow2clk

Closing since we're not going to address this in DXC.

llvm-beanz avatar Jun 11 '24 17:06 llvm-beanz