tu: Unconditionally enable GMEM on A7XX
GMEM is at parity with A7XX sysmem in terms of functionality so it's safe to enable it without any conditions now. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26461>
This commit is contained in:
@@ -886,10 +886,6 @@ use_sysmem_rendering(struct tu_cmd_buffer *cmd,
|
||||
if (TU_DEBUG(SYSMEM))
|
||||
return true;
|
||||
|
||||
/* A7XX TODO: Add gmem support */
|
||||
if (cmd->device->physical_device->info->chip >= 7 && !TU_DEBUG(GMEM))
|
||||
return true;
|
||||
|
||||
/* can't fit attachments into gmem */
|
||||
if (!cmd->state.tiling->possible)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user