diff options
| author | 2021-02-19 18:10:18 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:22 -0400 | |
| commit | 6db69990da9f232e6d982cdcb69c2e27d93075cf (patch) | |
| tree | 9367909cd030622ea36c4cadccd2fabc6f28d471 /src/video_core/vulkan_common | |
| parent | shader: Primitive Vulkan integration (diff) | |
| download | yuzu-6db69990da9f232e6d982cdcb69c2e27d93075cf.tar.gz yuzu-6db69990da9f232e6d982cdcb69c2e27d93075cf.tar.xz yuzu-6db69990da9f232e6d982cdcb69c2e27d93075cf.zip | |
spirv: Add lower fp16 to fp32 pass
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index f214510da..85f903125 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -247,9 +247,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 247 | .shaderStorageImageArrayDynamicIndexing = false, | 247 | .shaderStorageImageArrayDynamicIndexing = false, |
| 248 | .shaderClipDistance = false, | 248 | .shaderClipDistance = false, |
| 249 | .shaderCullDistance = false, | 249 | .shaderCullDistance = false, |
| 250 | .shaderFloat64 = false, | 250 | .shaderFloat64 = true, |
| 251 | .shaderInt64 = false, | 251 | .shaderInt64 = true, |
| 252 | .shaderInt16 = false, | 252 | .shaderInt16 = true, |
| 253 | .shaderResourceResidency = false, | 253 | .shaderResourceResidency = false, |
| 254 | .shaderResourceMinLod = false, | 254 | .shaderResourceMinLod = false, |
| 255 | .sparseBinding = false, | 255 | .sparseBinding = false, |
| @@ -420,8 +420,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 420 | } | 420 | } |
| 421 | if (is_float16_supported && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { | 421 | if (is_float16_supported && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { |
| 422 | // Intel's compiler crashes when using fp16 on Astral Chain, disable it for the time being. | 422 | // Intel's compiler crashes when using fp16 on Astral Chain, disable it for the time being. |
| 423 | LOG_WARNING(Render_Vulkan, "Blacklisting Intel proprietary from float16 math"); | 423 | // LOG_WARNING(Render_Vulkan, "Blacklisting Intel proprietary from float16 math"); |
| 424 | is_float16_supported = false; | 424 | // is_float16_supported = false; |
| 425 | } | 425 | } |
| 426 | 426 | ||
| 427 | graphics_queue = logical.GetQueue(graphics_family); | 427 | graphics_queue = logical.GetQueue(graphics_family); |