0
0
mirror of https://github.com/Ishan09811/pine.git synced 2025-04-29 08:25:10 +00:00

include sampler as friend class of gpu to access DeviceState`

This commit is contained in:
Ishan09811 2025-01-03 21:07:09 +05:30 committed by GitHub
parent c2a118985d
commit 196e52dd53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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