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
{{ message }}
Repository navigation
Accessing matrix input data in hull shader's patch constant function results in a compiler error #2958
Accessing matrix input data in hull shader's patch constant function results in a compiler error
Functional impact
Requires shaders that compiled with FXC to be rewritten to workaround this compiler error
Minimal repro steps
What is the smallest, simplest set of steps to reproduce the issue. If needed, provide a project that demonstrates the issue.
Using this input file (hull.txt), run the following commands: dxc.exe /Od /Zpr /nologo /Ths_6_0 /EHullFunc /Fo"hullout.tmp" "hull.txt" dxc.exe /Od /Zpr /nologo /Ths_6_0 /EHullUnpackedFunc /Fo"hullunpackedout.tmp" "hull.txt" dxc.exe /Od /Zpr /nologo /Ths_6_0 /EHullSimpleFunc /Fo"hullsimpleout.tmp" "hull.txt"
Expected result
The compile succeeds for all entry points in the file.
Actual result
The compile using HullFunc as the entry point returns 0x80AA0018 (DXC_E_GENERAL_INTERNAL_ERROR). The other entry points, which either omit the matrix usage or access it as separate float4s, compile successfully.
changed the title [-]Accessing matrix input data in hull patch function results in compiler error[/-][+]Accessing matrix input data in hull shader's patch constant function results in a compiler error[/+]on Jun 8, 2020
Activity
[-]Accessing matrix input data in hull patch function results in compiler error[/-][+]Accessing matrix input data in hull shader's patch constant function results in a compiler error[/+]Add load for argument matrix subscript lowering
Add load for argument matrix subscript lowering (#3065)