// SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include "core/device_memory_manager.h" namespace VideoCore { class RasterizerInterface; } namespace Tegra { struct MaxwellDeviceMethods; struct MaxwellDeviceTraits { // 64 GiB: Switch 2 titles map most of their memory twice plus GPU-only regions (title 1 // ran out of 16 GiB). static constexpr size_t device_virtual_bits = 36; using DeviceInterface = typename VideoCore::RasterizerInterface; using DeviceMethods = MaxwellDeviceMethods; }; using MaxwellDeviceMemoryManager = Core::DeviceMemoryManager; } // namespace Tegra