From 1995c879a953e67f38f7a69648924e609194fda1 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 22 Oct 2025 14:15:45 -0700 Subject: [PATCH] brw: Flip the TESS_LEVEL_INNER/OUTER vue map slot assignments Our current legacy patch header layout handling doesn't actually care which is which slot, and remaps everything to its correct spot anyway. For using the newer "reversed" patch header layouts, it will be more convenient to have outer as slot 0, and inner as slot 1, as that just works with no special remapping needed for both quads and triangles (but unfortunately isolines are still a pain). Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/brw/brw_vue_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw/brw_vue_map.c b/src/intel/compiler/brw/brw_vue_map.c index cf3ad12ece9..419eae583e2 100644 --- a/src/intel/compiler/brw/brw_vue_map.c +++ b/src/intel/compiler/brw/brw_vue_map.c @@ -348,8 +348,8 @@ brw_compute_tess_vue_map(struct intel_vue_map *vue_map, * described here, but pretending they're separate allows us to uniquely * identify them by distinct slot locations. */ - assign_vue_slot(vue_map, VARYING_SLOT_TESS_LEVEL_INNER, slot++); assign_vue_slot(vue_map, VARYING_SLOT_TESS_LEVEL_OUTER, slot++); + assign_vue_slot(vue_map, VARYING_SLOT_TESS_LEVEL_INNER, slot++); /* first assign per-patch varyings */ const int first_patch_slot = slot;