mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
tu: Don't override depth for GMEM
Otherwise accesses to non-0 views of input attachments may be considered
out-of-bounds and return 0. This should've been removed when enabling
multiview for GMEM, not sure how it was missed.
Fixes: def56b531c ("tu: Support GMEM with layered rendering and multiview")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20304>
This commit is contained in:
parent
cabbbbf0af
commit
f6902bf425
1 changed files with 1 additions and 1 deletions
|
|
@ -1303,7 +1303,7 @@ tu_emit_input_attachments(struct tu_cmd_buffer *cmd,
|
|||
*/
|
||||
dst[3] = 0;
|
||||
dst[4] = cmd->device->physical_device->gmem_base + gmem_offset;
|
||||
dst[5] = A6XX_TEX_CONST_5_DEPTH(1);
|
||||
dst[5] &= A6XX_TEX_CONST_5_DEPTH__MASK;
|
||||
for (unsigned i = 6; i < A6XX_TEX_CONST_DWORDS; i++)
|
||||
dst[i] = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue