aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv/emit_context.h
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-11-01 12:00:13 +0800
committerFeng Chen <vonchenplus@gmail.com>2021-11-04 09:26:16 +0800
commitf2a420424546fbc031594c5927b553b9d928b3a4 (patch)
treea6c1a833d37ea156c4b2898283806690771e3e34 /src/shader_recompiler/backend/spirv/emit_context.h
parent49f9a442356d582d31832e79098fd6db22f0f4c3 (diff)
Simply legacy attribute implement
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 e1af12a38a..112c52382a 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);
}