diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 06:54:24 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-16 06:54:24 +0200 |
commit | e3c153efa416d8bcac3b2801099dfba9da34392d (patch) | |
tree | fa5bfdf0059575dff2802611c067764e4cff7435 /src | |
parent | Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver" (diff) | |
download | yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.tar yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.tar.gz yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.tar.bz2 yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.tar.lz yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.tar.xz yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.tar.zst yuzu-e3c153efa416d8bcac3b2801099dfba9da34392d.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 910e63a25..c2ec9f76a 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -368,8 +368,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR }; SetNext(next, demote); + VkPhysicalDeviceFloat16Int8FeaturesKHR float16_int8; if (is_int8_supported || is_float16_supported) { - VkPhysicalDeviceFloat16Int8FeaturesKHR float16_int8{ + float16_int8 = { .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR, .pNext = nullptr, .shaderFloat16 = is_float16_supported, |