diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp index cba420cda..14a99750d 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(HW_GPU, "Fp32 denorm flush and preserve on the same shader"); | 297 | LOG_ERROR(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); |
| @@ -307,7 +307,7 @@ void SetupDenormControl(const Profile& profile, const IR::Program& program, Emit | |||
| 307 | ctx.AddCapability(spv::Capability::DenormPreserve); | 307 | ctx.AddCapability(spv::Capability::DenormPreserve); |
| 308 | ctx.AddExecutionMode(main_func, spv::ExecutionMode::DenormPreserve, 32U); | 308 | ctx.AddExecutionMode(main_func, spv::ExecutionMode::DenormPreserve, 32U); |
| 309 | } else { | 309 | } else { |
| 310 | // LOG_WARNING(HW_GPU, "Fp32 denorm preserve used in shader without host support"); | 310 | LOG_WARNING(Shader_SPIRV, "Fp32 denorm preserve used in shader without host support"); |
| 311 | } | 311 | } |
| 312 | } | 312 | } |
| 313 | if (!profile.support_separate_denorm_behavior) { | 313 | if (!profile.support_separate_denorm_behavior) { |
| @@ -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(HW_GPU, "Fp16 denorm flush and preserve on the same shader"); | 318 | LOG_ERROR(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); |
| @@ -328,7 +328,7 @@ void SetupDenormControl(const Profile& profile, const IR::Program& program, Emit | |||
| 328 | ctx.AddCapability(spv::Capability::DenormPreserve); | 328 | ctx.AddCapability(spv::Capability::DenormPreserve); |
| 329 | ctx.AddExecutionMode(main_func, spv::ExecutionMode::DenormPreserve, 16U); | 329 | ctx.AddExecutionMode(main_func, spv::ExecutionMode::DenormPreserve, 16U); |
| 330 | } else { | 330 | } else { |
| 331 | // LOG_WARNING(HW_GPU, "Fp16 denorm preserve used in shader without host support"); | 331 | LOG_WARNING(Shader_SPIRV, "Fp16 denorm preserve used in shader without host support"); |
| 332 | } | 332 | } |
| 333 | } | 333 | } |
| 334 | } | 334 | } |