Skip to content

Commit ced98a5

Browse files
committed
remove wgpu-executor::executor
1 parent e81fecd commit ced98a5

File tree

4 files changed

+5
-423
lines changed

4 files changed

+5
-423
lines changed

editor/src/messages/portfolio/document/node_graph/document_node_definitions.rs

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,87 +1113,6 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
11131113
description: Cow::Borrowed("TODO"),
11141114
properties: None,
11151115
},
1116-
#[cfg(feature = "gpu")]
1117-
DocumentNodeDefinition {
1118-
identifier: "Uniform",
1119-
category: "Debug: GPU",
1120-
node_template: NodeTemplate {
1121-
document_node: DocumentNode {
1122-
implementation: DocumentNodeImplementation::Network(NodeNetwork {
1123-
exports: vec![NodeInput::node(NodeId(2), 0)],
1124-
nodes: [
1125-
DocumentNode {
1126-
inputs: vec![NodeInput::scope("editor-api")],
1127-
implementation: DocumentNodeImplementation::ProtoNode(ProtoNodeIdentifier::new("graphene_core::ops::IntoNode")),
1128-
..Default::default()
1129-
},
1130-
DocumentNode {
1131-
inputs: vec![NodeInput::network(generic!(T), 0), NodeInput::node(NodeId(0), 0)],
1132-
manual_composition: Some(concrete!(Context)),
1133-
implementation: DocumentNodeImplementation::ProtoNode(ProtoNodeIdentifier::new("wgpu_executor::UniformNode")),
1134-
..Default::default()
1135-
},
1136-
DocumentNode {
1137-
manual_composition: Some(concrete!(Context)),
1138-
inputs: vec![NodeInput::node(NodeId(1), 0)],
1139-
implementation: DocumentNodeImplementation::ProtoNode(ProtoNodeIdentifier::new("graphene_core::memo::MemoNode")),
1140-
..Default::default()
1141-
},
1142-
]
1143-
.into_iter()
1144-
.enumerate()
1145-
.map(|(id, node)| (NodeId(id as u64), node))
1146-
.collect(),
1147-
..Default::default()
1148-
}),
1149-
inputs: vec![NodeInput::value(TaggedValue::F64(0.), true)],
1150-
..Default::default()
1151-
},
1152-
persistent_node_metadata: DocumentNodePersistentMetadata {
1153-
input_properties: vec![("In", "TODO").into()],
1154-
output_names: vec!["Uniform".to_string()],
1155-
network_metadata: Some(NodeNetworkMetadata {
1156-
persistent_metadata: NodeNetworkPersistentMetadata {
1157-
node_metadata: [
1158-
DocumentNodeMetadata {
1159-
persistent_metadata: DocumentNodePersistentMetadata {
1160-
display_name: "Extract Executor".to_string(),
1161-
node_type_metadata: NodeTypePersistentMetadata::node(IVec2::new(0, 0)),
1162-
..Default::default()
1163-
},
1164-
..Default::default()
1165-
},
1166-
DocumentNodeMetadata {
1167-
persistent_metadata: DocumentNodePersistentMetadata {
1168-
display_name: "Create Uniform".to_string(),
1169-
node_type_metadata: NodeTypePersistentMetadata::node(IVec2::new(7, 0)),
1170-
..Default::default()
1171-
},
1172-
..Default::default()
1173-
},
1174-
DocumentNodeMetadata {
1175-
persistent_metadata: DocumentNodePersistentMetadata {
1176-
display_name: "Cache".to_string(),
1177-
node_type_metadata: NodeTypePersistentMetadata::node(IVec2::new(14, 0)),
1178-
..Default::default()
1179-
},
1180-
..Default::default()
1181-
},
1182-
]
1183-
.into_iter()
1184-
.enumerate()
1185-
.map(|(id, node)| (NodeId(id as u64), node))
1186-
.collect(),
1187-
..Default::default()
1188-
},
1189-
..Default::default()
1190-
}),
1191-
..Default::default()
1192-
},
1193-
},
1194-
description: Cow::Borrowed("TODO"),
1195-
properties: None,
1196-
},
11971116
DocumentNodeDefinition {
11981117
identifier: "Storage",
11991118
category: "Debug: GPU",

node-graph/wgpu-executor/src/executor.rs

Lines changed: 0 additions & 250 deletions
This file was deleted.

0 commit comments

Comments
 (0)