aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorFengChen <vonchenplus@gmail.com>2022-09-10 17:09:45 +0800
committerFengChen <vonchenplus@gmail.com>2022-09-20 12:03:31 +0800
commitd4cb0eac87c9dea121a0f6bd2355fa5e6c641274 (patch)
tree292908a4b59bc6443d252fd313aaeb3da9dd2be8 /src/shader_recompiler/shader_info.h
parent16080b6e4e28b49e0e320879ebbab34199fb81c2 (diff)
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 f5690805c4..c3c586adae 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"
@@ -123,6 +124,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{};