mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-05 19:12:08 -10:00
Check the GPU's effects analytically instead of against the CPU baking
This commit is contained in:
1 parent
98d636c1e5
commit
5418fcbf7b
15 files changed
+2582
-1102
No files matched your search
@@ -140,7 +140,7 @@ struct Compiled {
|
||||
impl Compiled {
|
||||
/// The `network` preprocessed and compiled with a GPU in scope, or `None` without a GPU.
|
||||
fn new(network: NodeNetwork) -> Option<Self> {
|
||||
let gpu = futures::executor::block_on(wgpu_executor::WgpuExecutor::new())?;
|
||||
let gpu = futures::executor::block_on(wgpu_executor::WgpuExecutor::for_tests())?;
|
||||
let application_io = PlatformApplicationIo::new_with_executor(gpu);
|
||||
Some(Self::with_application_io(network, application_io))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user