Skip to content

radv, ac: Pass tess factors to the TCS epilog in registers.

Timur Kristóf requested to merge Venemo/mesa:radv_io_ac_tess_refactor into main

The goal of this work is to make ACO instruction selection less dependent on the TCS implementation details and make it easier to refactor RADV shader linking in the future.

Instead of the current approach, where RADV's TCS epilogs would load the tessellation factors from LDS, let's do it at the end of the TCS and pass the loaded tess factors to the epilog in registers. This removes the need for ACO to know about the TCS I/O layout and simplifies code.

Merge request reports