mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Only dispatch each workgroup not pixel
This commit is contained in:
parent
215589ff49
commit
edb33e0c82
8 changed files with 1076 additions and 75 deletions
|
@ -44,7 +44,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||
|
||||
let device = application_io.gpu_executor().unwrap().context.device.clone();
|
||||
std::thread::spawn(move || loop {
|
||||
std::thread::sleep(std::time::Duration::from_millis(1));
|
||||
std::thread::sleep(std::time::Duration::from_nanos(1));
|
||||
device.poll(wgpu::Maintain::Poll);
|
||||
});
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@
|
|||
],
|
||||
"outputs": [
|
||||
{
|
||||
"node_id": 2,
|
||||
"node_id": 1,
|
||||
"node_output_index": 0
|
||||
}
|
||||
],
|
||||
|
@ -341,39 +341,6 @@
|
|||
},
|
||||
"path": null
|
||||
},
|
||||
"2": {
|
||||
"name": "Cache",
|
||||
"inputs": [
|
||||
{
|
||||
"ShortCircut": {
|
||||
"Concrete": {
|
||||
"name": "()",
|
||||
"size": 0,
|
||||
"align": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"Node": {
|
||||
"node_id": 1,
|
||||
"output_index": 0,
|
||||
"lambda": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"implementation": {
|
||||
"Unresolved": {
|
||||
"name": "graphene_core::memo::MemoNode<_, _>"
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"position": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"path": null
|
||||
},
|
||||
"1": {
|
||||
"name": "Upload Texture",
|
||||
"inputs": [
|
||||
|
|
983
node-graph/graphene-cli/test_files/id_no_cache.graphite
Normal file
983
node-graph/graphene-cli/test_files/id_no_cache.graphite
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue