You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
D3D12 shader linkages require identical declarations of the patch constant signature between HS and DS. Since HS must output tessellation levels, DS must therefore input them. FXC had such an error:
Compile with FXC target ds_5_0 and you get error X3502. DXC succeeds. Attempting to use such a shader results in a D3D12 PSO creation failure (E_FAIL) with no debug layer error message (D3D bug 50951962 is tracking this missing error message).
Description
D3D12 shader linkages require identical declarations of the patch constant signature between HS and DS. Since HS must output tessellation levels, DS must therefore input them. FXC had such an error:
Steps to Reproduce
Compile with FXC target
ds_5_0
and you get error X3502. DXC succeeds. Attempting to use such a shader results in a D3D12 PSO creation failure (E_FAIL
) with no debug layer error message (D3D bug 50951962 is tracking this missing error message).See https://godbolt.org/z/5bs15vx4s for DXC on trunk, and https://shader-playground.timjones.io/3b46dc2f059f0b0611dcf44c264ccaab for FXC.
Environment
dxc(private) 1.8.0.10001 (main, ff623f8a)
The text was updated successfully, but these errors were encountered: