summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2021-05-16 17:06:13 -0400
committerGravatar ameerj2021-07-22 21:51:31 -0400
commitf7a2340205b4fa2db32403f20d7b7afe32b15f33 (patch)
tree22059632c5f3bf068e686997d833368f6c22f6ec /src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
parentglasm: Implement rest of shared mem (diff)
downloadyuzu-f7a2340205b4fa2db32403f20d7b7afe32b15f33.tar.gz
yuzu-f7a2340205b4fa2db32403f20d7b7afe32b15f33.tar.xz
yuzu-f7a2340205b4fa2db32403f20d7b7afe32b15f33.zip
shader_recompiler: GCC fixes
Fixes members of unnamed union not being accessible, and one function without a declaration.
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm_image.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
index a32d01925..4d146d34e 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
@@ -105,7 +105,7 @@ void EmitBoundImageWrite(EmitContext&) {
105 throw LogicError("Unreachable instruction"); 105 throw LogicError("Unreachable instruction");
106} 106}
107 107
108std::string Texture([[maybe_unused]] EmitContext& ctx, IR::TextureInstInfo info, 108static std::string Texture([[maybe_unused]] EmitContext& ctx, IR::TextureInstInfo info,
109 [[maybe_unused]] const IR::Value& index) { 109 [[maybe_unused]] const IR::Value& index) {
110 // FIXME 110 // FIXME
111 return fmt::format("texture[{}]", info.descriptor_index); 111 return fmt::format("texture[{}]", info.descriptor_index);