diff options
| author | 2021-06-16 03:03:08 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:38 -0400 | |
| commit | cbbca26d182991abf68d9b2e1b1e5935bf4eb476 (patch) | |
| tree | 09662bca5ff6bfa688e409294562ed1cdd8754b2 /src/video_core/vulkan_common | |
| parent | shader: Rename maxwell/program.h to translate_program.h (diff) | |
| download | yuzu-cbbca26d182991abf68d9b2e1b1e5935bf4eb476.tar.gz yuzu-cbbca26d182991abf68d9b2e1b1e5935bf4eb476.tar.xz yuzu-cbbca26d182991abf68d9b2e1b1e5935bf4eb476.zip | |
shader: Add support for native 16-bit floats
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 9754abcf8..0d8c6cd08 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -497,8 +497,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR | |||
| 497 | } | 497 | } |
| 498 | if (is_float16_supported && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { | 498 | if (is_float16_supported && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) { |
| 499 | // Intel's compiler crashes when using fp16 on Astral Chain, disable it for the time being. | 499 | // Intel's compiler crashes when using fp16 on Astral Chain, disable it for the time being. |
| 500 | // LOG_WARNING(Render_Vulkan, "Blacklisting Intel proprietary from float16 math"); | 500 | LOG_WARNING(Render_Vulkan, "Blacklisting Intel proprietary from float16 math"); |
| 501 | // is_float16_supported = false; | 501 | is_float16_supported = false; |
| 502 | } | 502 | } |
| 503 | 503 | ||
| 504 | graphics_queue = logical.GetQueue(graphics_family); | 504 | graphics_queue = logical.GetQueue(graphics_family); |