diff options
Diffstat (limited to 'src/video_core/host1x/gpu_device_memory_manager.cpp')
-rw-r--r-- | src/video_core/host1x/gpu_device_memory_manager.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/host1x/gpu_device_memory_manager.cpp b/src/video_core/host1x/gpu_device_memory_manager.cpp index 2ca445081..668c2f08b 100644 --- a/src/video_core/host1x/gpu_device_memory_manager.cpp +++ b/src/video_core/host1x/gpu_device_memory_manager.cpp @@ -5,6 +5,17 @@ #include "video_core/host1x/gpu_device_memory_manager.h" #include "video_core/rasterizer_interface.h" +namespace Tegra { + +struct MaxwellDeviceMethods { + static inline void MarkRegionCaching(Core::Memory::Memory* interface, VAddr address, + size_t size, bool caching) { + interface->RasterizerMarkRegionCached(address, size, caching); + } +}; + +} // namespace Tegra + template struct Core::DeviceMemoryManagerAllocator<Tegra::MaxwellDeviceTraits>; template class Core::DeviceMemoryManager<Tegra::MaxwellDeviceTraits>; |