mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 19:27:27 +00:00
Vulkan: Use VK_NV_glsl extension where available, and skip glslang
This commit is contained in:
parent
90ca2e8042
commit
79188d4f55
7 changed files with 103 additions and 38 deletions
|
@ -83,6 +83,7 @@ public:
|
|||
{
|
||||
return m_device_features.occlusionQueryPrecise == VK_TRUE;
|
||||
}
|
||||
bool SupportsNVGLSLExtension() const { return m_supports_nv_glsl_extension; }
|
||||
// Helpers for getting constants
|
||||
VkDeviceSize GetUniformBufferAlignment() const
|
||||
{
|
||||
|
@ -129,6 +130,8 @@ private:
|
|||
VkPhysicalDeviceFeatures m_device_features = {};
|
||||
VkPhysicalDeviceProperties m_device_properties = {};
|
||||
VkPhysicalDeviceMemoryProperties m_device_memory_properties = {};
|
||||
|
||||
bool m_supports_nv_glsl_extension = false;
|
||||
};
|
||||
|
||||
extern std::unique_ptr<VulkanContext> g_vulkan_context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue