summaryrefslogtreecommitdiff
path: root/src/shader_recompiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
index 14a99750d..fd59b4d0a 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
@@ -294,7 +294,7 @@ void SetupDenormControl(const Profile& profile, const IR::Program& program, Emit
294 Id main_func) { 294 Id main_func) {
295 const Info& info{program.info}; 295 const Info& info{program.info};
296 if (info.uses_fp32_denorms_flush && info.uses_fp32_denorms_preserve) { 296 if (info.uses_fp32_denorms_flush && info.uses_fp32_denorms_preserve) {
297 LOG_ERROR(Shader_SPIRV, "Fp32 denorm flush and preserve on the same shader"); 297 LOG_WARNING(Shader_SPIRV, "Fp32 denorm flush and preserve on the same shader");
298 } else if (info.uses_fp32_denorms_flush) { 298 } else if (info.uses_fp32_denorms_flush) {
299 if (profile.support_fp32_denorm_flush) { 299 if (profile.support_fp32_denorm_flush) {
300 ctx.AddCapability(spv::Capability::DenormFlushToZero); 300 ctx.AddCapability(spv::Capability::DenormFlushToZero);
@@ -315,7 +315,7 @@ void SetupDenormControl(const Profile& profile, const IR::Program& program, Emit
315 return; 315 return;
316 } 316 }
317 if (info.uses_fp16_denorms_flush && info.uses_fp16_denorms_preserve) { 317 if (info.uses_fp16_denorms_flush && info.uses_fp16_denorms_preserve) {
318 LOG_ERROR(Shader_SPIRV, "Fp16 denorm flush and preserve on the same shader"); 318 LOG_WARNING(Shader_SPIRV, "Fp16 denorm flush and preserve on the same shader");
319 } else if (info.uses_fp16_denorms_flush) { 319 } else if (info.uses_fp16_denorms_flush) {
320 if (profile.support_fp16_denorm_flush) { 320 if (profile.support_fp16_denorm_flush) {
321 ctx.AddCapability(spv::Capability::DenormFlushToZero); 321 ctx.AddCapability(spv::Capability::DenormFlushToZero);