summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2021-09-30 01:32:39 +0200
committerGitHub <noreply@github.com>2021-09-30 01:32:39 +0200
commitb9251155f83f27aa5d5bc33bfc068913d611314a (patch)
treed00074e943ba23b90d1d3239aa9131cd68eb50c5 /src/shader_recompiler/backend/glsl
parentMerge pull request #7036 from ameerj/ogl-bgr-v2 (diff)
parentstyle: Remove extra space preceding the :: operator (diff)
downloadyuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.tar
yuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.tar.gz
yuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.tar.bz2
yuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.tar.lz
yuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.tar.xz
yuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.tar.zst
yuzu-b9251155f83f27aa5d5bc33bfc068913d611314a.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
index 580063fa9..170db269a 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp
@@ -58,8 +58,8 @@ void GetCbuf(EmitContext& ctx, std::string_view ret, const IR::Value& binding,
const auto cbuf{fmt::format("{}_cbuf{}", ctx.stage_name, binding.U32())};
const auto cbuf_cast{fmt::format("{}({}[{}]{{}})", cast, cbuf, index)};
const auto extraction{num_bits == 32 ? cbuf_cast
- : fmt ::format("bitfieldExtract({},int({}),{})", cbuf_cast,
- bit_offset, num_bits)};
+ : fmt::format("bitfieldExtract({},int({}),{})", cbuf_cast,
+ bit_offset, num_bits)};
if (!component_indexing_bug) {
const auto result{fmt::format(fmt::runtime(extraction), swizzle)};
ctx.Add("{}={};", ret, result);