summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r--src/shader_recompiler/profile.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index b57cbc310..41550bfc6 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -4,8 +4,18 @@
#pragma once
+#include <array>
+
+#include "common/common_types.h"
+
namespace Shader {
+enum class AttributeType : u8 {
+ Float,
+ SignedInt,
+ UnsignedInt,
+};
+
struct Profile {
bool unified_descriptor_binding{};
bool support_vertex_instance_id{};
@@ -24,6 +34,9 @@ struct Profile {
// FClamp is broken and OpFMax + OpFMin should be used instead
bool has_broken_spirv_clamp{};
+
+ std::array<AttributeType, 32> generic_input_types{};
+ bool convert_depth_mode{};
};
} // namespace Shader