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:
committed by
Marge Bot
parent
42aae5c3fa
commit
dea4bb3757
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user