mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
VideoBackends:Vulkan: Clean up unused memory allocation code
This commit is contained in:
parent
1ba58e83ca
commit
aa1679f2c7
4 changed files with 0 additions and 135 deletions
|
@ -98,14 +98,6 @@ public:
|
|||
return m_device_properties.limits.bufferImageGranularity;
|
||||
}
|
||||
float GetMaxSamplerAnisotropy() const { return m_device_properties.limits.maxSamplerAnisotropy; }
|
||||
// Finds a memory type index for the specified memory properties and the bits returned by
|
||||
// vkGetImageMemoryRequirements
|
||||
std::optional<u32> GetMemoryType(u32 bits, VkMemoryPropertyFlags properties, bool strict,
|
||||
bool* is_coherent = nullptr);
|
||||
|
||||
// Finds a memory type for upload or readback buffers.
|
||||
u32 GetUploadMemoryType(u32 bits, bool* is_coherent = nullptr);
|
||||
u32 GetReadbackMemoryType(u32 bits, bool* is_coherent = nullptr);
|
||||
|
||||
// Returns true if the specified extension is supported and enabled.
|
||||
bool SupportsDeviceExtension(const char* name) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue