mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
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 <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38482>
This commit is contained in:
parent
e5c1d00faf
commit
1995c879a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue