summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-14 07:51:40 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commitb9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff (patch)
tree07ebc7e318967e0cf40e9475558ca0a6126d54b6 /src/video_core/renderer_vulkan
parentshader: Implement FMNMX (diff)
downloadyuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.tar
yuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.tar.gz
yuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.tar.bz2
yuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.tar.lz
yuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.tar.xz
yuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.tar.zst
yuzu-b9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index bcb7dd2eb..5477a2903 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -193,6 +193,10 @@ ComputePipeline PipelineCache::CreateComputePipeline(ShaderInfo* shader_info) {
.support_fp32_denorm_preserve = float_control.shaderDenormPreserveFloat32 != VK_FALSE,
.support_fp16_denorm_flush = float_control.shaderDenormFlushToZeroFloat16 != VK_FALSE,
.support_fp32_denorm_flush = float_control.shaderDenormFlushToZeroFloat32 != VK_FALSE,
+ .support_fp16_signed_zero_nan_preserve =
+ float_control.shaderSignedZeroInfNanPreserveFloat16 != VK_FALSE,
+ .support_fp32_signed_zero_nan_preserve =
+ float_control.shaderSignedZeroInfNanPreserveFloat32 != VK_FALSE,
.has_broken_spirv_clamp = true, // TODO: is_intel
};
const auto [info, code]{Shader::RecompileSPIRV(profile, env, qmd.program_start)};