summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-15 22:49:33 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:35 +0200
commit3d822faea1af9cab2e58fcd9edcec09940e290a4 (patch)
treeabf54c525222d8a47e8d382ffff0e49604b2cec1 /src/shader_recompiler/backend/spirv
parentshader: Fix loop safety to SSA pass (diff)
downloadyuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.tar
yuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.tar.gz
yuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.tar.bz2
yuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.tar.lz
yuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.tar.xz
yuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.tar.zst
yuzu-3d822faea1af9cab2e58fcd9edcec09940e290a4.zip
Diffstat (limited to '')
-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
Id main_func) {
const Info& info{program.info};
if (info.uses_fp32_denorms_flush && info.uses_fp32_denorms_preserve) {
- LOG_ERROR(Shader_SPIRV, "Fp32 denorm flush and preserve on the same shader");
+ LOG_WARNING(Shader_SPIRV, "Fp32 denorm flush and preserve on the same shader");
} else if (info.uses_fp32_denorms_flush) {
if (profile.support_fp32_denorm_flush) {
ctx.AddCapability(spv::Capability::DenormFlushToZero);
@@ -315,7 +315,7 @@ void SetupDenormControl(const Profile& profile, const IR::Program& program, Emit
return;
}
if (info.uses_fp16_denorms_flush && info.uses_fp16_denorms_preserve) {
- LOG_ERROR(Shader_SPIRV, "Fp16 denorm flush and preserve on the same shader");
+ LOG_WARNING(Shader_SPIRV, "Fp16 denorm flush and preserve on the same shader");
} else if (info.uses_fp16_denorms_flush) {
if (profile.support_fp16_denorm_flush) {
ctx.AddCapability(spv::Capability::DenormFlushToZero);