summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureConverterShaderGen.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-18 11:10:48 +0100
committerGitHub <noreply@github.com>2020-11-18 11:10:48 +0100
commit4eecb8fd1100db51a118c220c8b6a61fd672fc42 (patch)
tree5c08b8d1d92b0b676a0c064d2200e4d6f64d5af5 /Source/Core/VideoCommon/TextureConverterShaderGen.cpp
parenteb1581bbcc30b79f51b736d2f31c9cb0489b1162 (diff)
parent3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (diff)
Merge pull request #9248 from lioncash/video-fmt
VideoCommon: Migrate over to fmt
Diffstat (limited to 'Source/Core/VideoCommon/TextureConverterShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureConverterShaderGen.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/TextureConverterShaderGen.cpp b/Source/Core/VideoCommon/TextureConverterShaderGen.cpp
index 825c8c7ffe..9c0ccfe268 100644
--- a/Source/Core/VideoCommon/TextureConverterShaderGen.cpp
+++ b/Source/Core/VideoCommon/TextureConverterShaderGen.cpp
@@ -209,7 +209,8 @@ ShaderCode GeneratePixelShader(APIType api_type, const UidData* uid_data)
break;
default:
- ERROR_LOG(VIDEO, "Unknown copy zbuf format: 0x%X", static_cast<int>(uid_data->dst_format));
+ ERROR_LOG_FMT(VIDEO, "Unknown copy zbuf format: {:#X}",
+ static_cast<int>(uid_data->dst_format));
out.Write(" ocol0 = float4(texcol.bgr, 0.0);\n");
break;
}
@@ -239,8 +240,8 @@ ShaderCode GeneratePixelShader(APIType api_type, const UidData* uid_data)
break;
default:
- ERROR_LOG(VIDEO, "Unknown copy intensity format: 0x%X",
- static_cast<int>(uid_data->dst_format));
+ ERROR_LOG_FMT(VIDEO, "Unknown copy intensity format: {:#X}",
+ static_cast<int>(uid_data->dst_format));
out.Write(" ocol0 = texcol;\n");
break;
}
@@ -315,7 +316,8 @@ ShaderCode GeneratePixelShader(APIType api_type, const UidData* uid_data)
break;
default:
- ERROR_LOG(VIDEO, "Unknown copy color format: 0x%X", static_cast<int>(uid_data->dst_format));
+ ERROR_LOG_FMT(VIDEO, "Unknown copy color format: {:#X}",
+ static_cast<int>(uid_data->dst_format));
out.Write(" ocol0 = texcol;\n");
break;
}