Skip to content

ir3/freedreno: account for component in build_tessfactor_base

Danylo Piliaiev requested to merge Danil/mesa:fix/ir3/patch-input-component into main

The burden was put on the caller, which caused:

  • Reading of tess levels back in TCS not accounting for component
  • Reading patch outputs in TES account for component twice

Fixes vkd3d tests:

  • test_tessellation_read_tesslevel
  • test_tessellation_primitive_id
  • test_line_tessellation_dxbc

amber test exercising the issue: test_tessellation_read_tesslevel.amber

Edited by Danylo Piliaiev

Merge request reports