Skip to content

Commit 12e63f2

Browse files
committed
ExecutionGraph: add image and external nodes
1 parent fa59853 commit 12e63f2

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/engine/renderer-vulkan/GraphicsCore/ExecutionGraph/ExecutionGraph.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ enum NodeType : uint8 {
6161
NODE_GRAPHICS = 1,
6262
NODE_BIND = 2,
6363
NODE_PUSH = 3,
64-
NODE_BUFFER = 4
64+
NODE_BUFFER = 4,
65+
NODE_IMAGE = 5,
66+
NODE_EXTERNAL = 6
6567
};
6668

6769
enum ResourceType : uint32 {
@@ -198,6 +200,13 @@ struct BufferNode {
198200
uint32 heap;
199201
};
200202

203+
struct ImageNode {
204+
uint8 type = NODE_IMAGE;
205+
uint8 id;
206+
uint16 imageID;
207+
uint32 TBD[5];
208+
};
209+
201210
class ExecutionGraph {
202211
public:
203212
void Init( const char* engineName, const char* appName );

0 commit comments

Comments
 (0)