summaryrefslogtreecommitdiff
path: root/tools/gfx/vulkan/vk-vertex-layout.h
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-05-26 10:54:35 -0700
committerGitHub <noreply@github.com>2022-05-26 10:54:35 -0700
commit43e1b7cdc70b2fcac8a3e8ee72f5bc91726f4ec5 (patch)
tree1e4701b4ab324a199b81e1f6c671f6660f1050c5 /tools/gfx/vulkan/vk-vertex-layout.h
parent5ff4f42c636a67724523e4fe60697cfac64908cd (diff)
Split render-vk.h/.cpp into a set of smaller files (#2244)
* Some preliminary work on splitting render-vk * render-vk split, tests currently crash on null reference * fixed circular include
Diffstat (limited to 'tools/gfx/vulkan/vk-vertex-layout.h')
-rw-r--r--tools/gfx/vulkan/vk-vertex-layout.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-vertex-layout.h b/tools/gfx/vulkan/vk-vertex-layout.h
new file mode 100644
index 000000000..9769a70bd
--- /dev/null
+++ b/tools/gfx/vulkan/vk-vertex-layout.h
@@ -0,0 +1,22 @@
+// vk-vertex-layout.h
+#pragma once
+
+#include "vk-base.h"
+
+namespace gfx
+{
+
+using namespace Slang;
+
+namespace vk
+{
+
+class InputLayoutImpl : public InputLayoutBase
+{
+public:
+ List<VkVertexInputAttributeDescription> m_attributeDescs;
+ List<VkVertexInputBindingDescription> m_streamDescs;
+};
+
+} // namespace vk
+} // namespace gfx