mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-21 16:43:35 +00:00
Only enable ShaderFloat64 if the GPU supports it
This commit is contained in:
parent
1edc85c26e
commit
5670022e27
3 changed files with 3 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -330,6 +330,8 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
PQueuePriorities = queuePriorities
|
||||
};
|
||||
|
||||
var supportedFeatures = api.GetPhysicalDeviceFeature(physicalDevice);
|
||||
|
||||
var features = new PhysicalDeviceFeatures()
|
||||
{
|
||||
DepthBiasClamp = true,
|
||||
|
@ -344,7 +346,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
PipelineStatisticsQuery = true,
|
||||
SamplerAnisotropy = true,
|
||||
ShaderClipDistance = true,
|
||||
ShaderFloat64 = true,
|
||||
ShaderFloat64 = supportedFeatures.ShaderFloat64,
|
||||
ShaderImageGatherExtended = true,
|
||||
// ShaderStorageImageReadWithoutFormat = true,
|
||||
// ShaderStorageImageWriteWithoutFormat = true,
|
||||
|
|
Loading…
Reference in a new issue