summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
-rw-r--r--src/shader_recompiler/shader_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index 2f6adf714..a50a9a18c 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -5,6 +5,7 @@
5#pragma once 5#pragma once
6 6
7#include <array> 7#include <array>
8#include <bitset>
8 9
9#include "common/common_types.h" 10#include "common/common_types.h"
10#include "shader_recompiler/frontend/ir/type.h" 11#include "shader_recompiler/frontend/ir/type.h"
@@ -140,6 +141,7 @@ struct Info {
140 bool stores_tess_level_outer{}; 141 bool stores_tess_level_outer{};
141 bool stores_tess_level_inner{}; 142 bool stores_tess_level_inner{};
142 bool stores_indexed_attributes{}; 143 bool stores_indexed_attributes{};
144 bool stores_global_memory{};
143 145
144 bool uses_fp16{}; 146 bool uses_fp16{};
145 bool uses_fp64{}; 147 bool uses_fp64{};
@@ -180,6 +182,8 @@ struct Info {
180 IR::Type used_storage_buffer_types{}; 182 IR::Type used_storage_buffer_types{};
181 183
182 u32 constant_buffer_mask{}; 184 u32 constant_buffer_mask{};
185 u32 nvn_buffer_base{};
186 std::bitset<16> nvn_buffer_used{};
183 187
184 boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS> 188 boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS>
185 constant_buffer_descriptors; 189 constant_buffer_descriptors;