From 196e52dd530cdc2f1b774928c4494c7140df0f6c Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Fri, 3 Jan 2025 21:07:09 +0530 Subject: [PATCH] include `sampler`` as friend class of ``gpu`` to access ``DeviceState`` --- app/src/main/cpp/skyline/gpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/cpp/skyline/gpu.h b/app/src/main/cpp/skyline/gpu.h index 454b46e6..eb864810 100644 --- a/app/src/main/cpp/skyline/gpu.h +++ b/app/src/main/cpp/skyline/gpu.h @@ -20,6 +20,7 @@ #include "gpu/cache/framebuffer_cache.h" #include "gpu/interconnect/maxwell_3d/pipeline_manager.h" #include "gpu/interconnect/kepler_compute/pipeline_manager.h" +#include "gpu/interconnect/common/samplers.h" namespace skyline::gpu { static constexpr u32 VkApiVersion{VK_API_VERSION_1_1}; //!< The version of core Vulkan that we require @@ -33,6 +34,7 @@ namespace skyline::gpu { friend Texture; friend Buffer; friend BufferManager; + friend Samplers; public: adrenotools_gpu_mapping adrenotoolsImportMapping{}; //!< Persistent struct to store active adrenotools mapping import info