mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
ir3: VARYING_SLOT_LAYER output is used for binning
In multi-layered framebuffer LRZ also has several layers and binning
pass needs to write depth to a correct layer, so binning VS needs
VARYING_SLOT_LAYER.
Fixes: 9775b33d0f ("tu: Enable GMEM with layered rendering")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34728>
This commit is contained in:
parent
42aae5c3fa
commit
dea4bb3757
1 changed files with 1 additions and 1 deletions
|
|
@ -976,7 +976,7 @@ output_slot_used_for_binning(gl_varying_slot slot)
|
|||
{
|
||||
return slot == VARYING_SLOT_POS || slot == VARYING_SLOT_PSIZ ||
|
||||
slot == VARYING_SLOT_CLIP_DIST0 || slot == VARYING_SLOT_CLIP_DIST1 ||
|
||||
slot == VARYING_SLOT_VIEWPORT;
|
||||
slot == VARYING_SLOT_VIEWPORT || slot == VARYING_SLOT_LAYER;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue