summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_context.h
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-11-01 05:00:13 +0100
committerFeng Chen <vonchenplus@gmail.com>2021-11-04 02:26:16 +0100
commitf2a420424546fbc031594c5927b553b9d928b3a4 (patch)
treea6c1a833d37ea156c4b2898283806690771e3e34 /src/shader_recompiler/backend/spirv/emit_context.h
parentSupport gl_FogFragCoord attribute (diff)
downloadyuzu-f2a420424546fbc031594c5927b553b9d928b3a4.tar
yuzu-f2a420424546fbc031594c5927b553b9d928b3a4.tar.gz
yuzu-f2a420424546fbc031594c5927b553b9d928b3a4.tar.bz2
yuzu-f2a420424546fbc031594c5927b553b9d928b3a4.tar.lz
yuzu-f2a420424546fbc031594c5927b553b9d928b3a4.tar.xz
yuzu-f2a420424546fbc031594c5927b553b9d928b3a4.tar.zst
yuzu-f2a420424546fbc031594c5927b553b9d928b3a4.zip
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_context.h')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.h b/src/shader_recompiler/backend/spirv/emit_context.h
index e1af12a38..112c52382 100644
--- a/src/shader_recompiler/backend/spirv/emit_context.h
+++ b/src/shader_recompiler/backend/spirv/emit_context.h
@@ -113,6 +113,9 @@ public:
[[nodiscard]] Id BitOffset8(const IR::Value& offset);
[[nodiscard]] Id BitOffset16(const IR::Value& offset);
+ Id InputLegacyAttribute(IR::Attribute attribute);
+ Id OutputLegacyAttribute(IR::Attribute attribute);
+
Id Const(u32 value) {
return Constant(U32[1], value);
}