summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/runtime_info.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-06-24 02:41:09 -0300
committerGravatar ameerj2021-07-22 21:51:39 -0400
commit7dafa96ab59892b7f1fbffdb61e4326e6443955f (patch)
tree5ab58d56860db635542ea1ec24be258bd86b40b9 /src/shader_recompiler/runtime_info.h
parentvk_graphics_pipeline: Implement conservative rendering (diff)
downloadyuzu-7dafa96ab59892b7f1fbffdb61e4326e6443955f.tar.gz
yuzu-7dafa96ab59892b7f1fbffdb61e4326e6443955f.tar.xz
yuzu-7dafa96ab59892b7f1fbffdb61e4326e6443955f.zip
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's.
Diffstat (limited to 'src/shader_recompiler/runtime_info.h')
-rw-r--r--src/shader_recompiler/runtime_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/runtime_info.h b/src/shader_recompiler/runtime_info.h
index 63fe2afaf..f3f83a258 100644
--- a/src/shader_recompiler/runtime_info.h
+++ b/src/shader_recompiler/runtime_info.h
@@ -10,6 +10,7 @@
10#include <vector> 10#include <vector>
11 11
12#include "common/common_types.h" 12#include "common/common_types.h"
13#include "shader_recompiler/varying_state.h"
13 14
14namespace Shader { 15namespace Shader {
15 16
@@ -60,7 +61,7 @@ struct TransformFeedbackVarying {
60 61
61struct RuntimeInfo { 62struct RuntimeInfo {
62 std::array<AttributeType, 32> generic_input_types{}; 63 std::array<AttributeType, 32> generic_input_types{};
63 std::bitset<32> previous_stage_stores_generic{}; 64 VaryingState previous_stage_stores;
64 65
65 bool convert_depth_mode{}; 66 bool convert_depth_mode{};
66 bool force_early_z{}; 67 bool force_early_z{};