diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-14 11:07:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 11:07:45 +0100 |
commit | 30442d8a89fd42d9b7efea86e1b2461f09219936 (patch) | |
tree | b30524b3c486c4e453cdbbaf319b4a8d03cfaaee /src/shader_recompiler/backend/spirv/emit_context.h | |
parent | Merge pull request #7305 from Morph1984/ci (diff) | |
parent | Simply legacy attribute implement (diff) | |
download | yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.tar yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.tar.gz yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.tar.bz2 yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.tar.lz yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.tar.xz yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.tar.zst yuzu-30442d8a89fd42d9b7efea86e1b2461f09219936.zip |
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_context.h')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_context.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.h b/src/shader_recompiler/backend/spirv/emit_context.h index 847d0c0e6..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); } @@ -269,12 +272,20 @@ public: Id input_position{}; Id input_front_color{}; + Id input_front_secondary_color{}; + Id input_back_color{}; + Id input_back_secondary_color{}; + Id input_fog_frag_coord{}; std::array<Id, 10> input_fixed_fnc_textures{}; std::array<Id, 32> input_generics{}; Id output_point_size{}; Id output_position{}; Id output_front_color{}; + Id output_front_secondary_color{}; + Id output_back_color{}; + Id output_back_secondary_color{}; + Id output_fog_frag_coord{}; std::array<Id, 10> output_fixed_fnc_textures{}; std::array<std::array<GenericElementInfo, 4>, 32> output_generics{}; |