aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/attribute.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-14 01:04:59 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:27 -0400
commitb126987c59964d81ae3705ad7ad6c0ace8714e19 (patch)
treed6384469b9450431de5679dcd12fa2ce18e9a8dd /src/shader_recompiler/frontend/ir/attribute.h
parenta83579b50a167ab9483e5058fd1c748018ef6d7c (diff)
shader: Implement transform feedbacks and define file format
Diffstat (limited to 'src/shader_recompiler/frontend/ir/attribute.h')
-rw-r--r--src/shader_recompiler/frontend/ir/attribute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h
index 34ec7e0cd0..8bf2ddf30d 100644
--- a/src/shader_recompiler/frontend/ir/attribute.h
+++ b/src/shader_recompiler/frontend/ir/attribute.h
@@ -226,6 +226,8 @@ enum class Attribute : u64 {
[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute);
+[[nodiscard]] u32 GenericAttributeElement(Attribute attribute);
+
[[nodiscard]] std::string NameOf(Attribute attribute);
} // namespace Shader::IR