d3d12: Properly set HS input control point count
Looks like some hardware needs this info in the shader to match the topology. Since there's no spot in the shader info for it, we're currently using the array size of the TCS input vars to store it. Cc: mesa-stable Reviewed-by:Paul Dodzweit <paul.dodzweit@amd.com> Tested-by:
Paul Dodzweit <paul.dodzweit@amd.com> Part-of: <mesa/mesa!16920> (cherry picked from commit cc805aef) Conflicts: src/microsoft/compiler/dxil_nir.h
Showing
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/gallium/drivers/d3d12/d3d12_compiler.cpp 4 additions, 0 deletionssrc/gallium/drivers/d3d12/d3d12_compiler.cpp
- src/gallium/drivers/d3d12/d3d12_compiler.h 1 addition, 0 deletionssrc/gallium/drivers/d3d12/d3d12_compiler.h
- src/microsoft/compiler/dxil_nir.h 1 addition, 0 deletionssrc/microsoft/compiler/dxil_nir.h
- src/microsoft/compiler/dxil_nir_tess.c 32 additions, 0 deletionssrc/microsoft/compiler/dxil_nir_tess.c
Loading
Please register or sign in to comment