From f2a420424546fbc031594c5927b553b9d928b3a4 Mon Sep 17 00:00:00 2001 From: Feng Chen Date: Mon, 1 Nov 2021 12:00:13 +0800 Subject: Simply legacy attribute implement --- src/shader_recompiler/backend/spirv/emit_context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shader_recompiler/backend/spirv/emit_context.h') 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); } -- cgit v1.2.3