aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-10-24 10:50:24 -0700
committerGitHub <noreply@github.com>2022-10-24 10:50:24 -0700
commitcbb6c24215aa0d5c0e620ff75f29a19275521a43 (patch)
treeb88bc00e4203187453c9da41cad79f4e5e7624fb /src/shader_recompiler/shader_info.h
parent2e782a154dccaf4761487f1a17f11b610bca3dc2 (diff)
parent20139f8a551098633e4ea3eab079b590c47ee0f5 (diff)
Merge pull request #8873 from vonchenplus/fix_legacy_location_error
video_core: Fix legacy to generic location unpaired
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
-rw-r--r--src/shader_recompiler/shader_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index cc596da4f9..81097bf1ab 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -5,6 +5,7 @@
#include <array>
#include <bitset>
+#include <map>
#include "common/common_types.h"
#include "shader_recompiler/frontend/ir/type.h"
@@ -127,6 +128,8 @@ struct Info {
VaryingState stores;
VaryingState passthrough;
+ std::map<IR::Attribute, IR::Attribute> legacy_stores_mapping;
+
bool loads_indexed_attributes{};
std::array<bool, 8> stores_frag_color{};