mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 09:40:40 +02:00
tu: Allow GMEM on A7XX when TU_DEBUG=gmem
GMEM is entirely non-functional on A7XX, however, it is useful to be able to test intermediary commits as support is added. This is still put behind an explicit `TU_DEBUG` gmem flag to avoid regressions from bisecting sysmem issues. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26461>
This commit is contained in:
parent
3dbc15e74e
commit
9759222282
1 changed files with 1 additions and 1 deletions
|
|
@ -870,7 +870,7 @@ use_sysmem_rendering(struct tu_cmd_buffer *cmd,
|
|||
return true;
|
||||
|
||||
/* A7XX TODO: Add gmem support */
|
||||
if (cmd->device->physical_device->info->chip >= 7)
|
||||
if (cmd->device->physical_device->info->chip >= 7 && !TU_DEBUG(GMEM))
|
||||
return true;
|
||||
|
||||
/* can't fit attachments into gmem */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue