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
DXC version dxcompiler.dll on 1.08.2407.07 (July 2024)
Host Operating System Édition
Windows 10 Entreprise
Version 22H2
Installé le 09/02/2023
Build du système d’exploitation 19045.5011
Expérience Windows Feature Experience Pack 1000.19060.1000.0
The text was updated successfully, but these errors were encountered:
Description
Having SV_ShadingRate semantic value as pixel shader input generates invalid SPIR-V with the following error:
[VUID-StandaloneSpirv-None-04667] In Vulkan, OpTypeStruct must not contain an opaque type. %SamplerStateProvider__Resources = OpTypeStruct %type_sampler %type_sampler %type_sampler %type_sampler %type_sampler %type_sampler %type_sampler %type_sampler %type_sampler %type_sampler
Note: the same code is working for DX12.
Steps to Reproduce
Using dxcompiler.dll on 1.08.2407.07 (July 2024) with the following arguments:
-EMainPS -Tps_6_4 -Gfp -HV 2018 -Zi -Zss -fspv-debug=file -fspv-debug=source -fspv-debug=line -Od -Wno-effects-syntax -Qstrip_debug -Qstrip_rootsignature -spirv -fvk-use-dx-layout -fvk-use-dx-position-w -fspv-target-env=vulkan1.1
Here the godbolt link with a stripped sample code: https://godbolt.org/z/rjrfjzPY5
Actual Behavior
Should output valid Spirv.
Environment
Windows 10 Entreprise
Version 22H2
Installé le 09/02/2023
Build du système d’exploitation 19045.5011
Expérience Windows Feature Experience Pack 1000.19060.1000.0
The text was updated successfully, but these errors were encountered: