Otherwise, if eg. PSIZ is exported the ESGS stride is wrong. This isn't
optimal yet but let's start with this to support separate compilation
of VS/TCS/TES/GS correctly first.
This fixes a bunch of issues when forcing separate compilation on RDNA2.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24908>
/* IO slot layout for stages that aren't linked. */
enum {
RADV_IO_SLOT_POS = 0,
- RADV_IO_SLOT_VAR0 = 1, /* 0..31 */
- RADV_IO_SLOT_CLIP_DIST0 = 33,
+ RADV_IO_SLOT_CLIP_DIST0,
RADV_IO_SLOT_CLIP_DIST1,
RADV_IO_SLOT_PSIZ,
+ RADV_IO_SLOT_VAR0, /* 0..31 */
};
static unsigned