-
-
Notifications
You must be signed in to change notification settings - Fork 816
Upgrade vello to version 0.5.0 and wgpu to version 25 #2890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Performance Benchmark Resultscompile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_2:load_from_name(procedural-string-lights) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires) Detailed metrics
|
node-graph/wgpu-executor/src/lib.rs
Outdated
@@ -105,12 +121,39 @@ impl WgpuExecutor { | |||
#[cfg(target_arch = "wasm32")] | |||
pub fn create_surface(&self, canvas: graphene_application_io::WasmSurfaceHandle) -> Result<SurfaceHandle<Surface>> { | |||
let surface = self.context.instance.create_surface(wgpu::SurfaceTarget::Canvas(canvas.surface))?; | |||
let size = UVec2::ZERO; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In wasm we're rendering to a texture of size 0...
Now I don't know why, but this code sometimes works for me on FF nightly anyway. (inconsistent)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed it, but the other resolution was already set to zero, which is why I used that.
Graphite/node-graph/wgpu-executor/src/lib.rs Lines 166 to 171 in dc27a56
@mTvare6 I think you are misunderstanding what surface capabilities are. They are just reporting the many formats the surface is capable of, not what a surface "is". When you creates a texture from a surface (with Will try to fix it |
a1d7a87
to
4a3933f
Compare
@TrueDoctor feel free to retest |
Performance Benchmark Resultscompile_demo_art_iai::compile_group::compile_to_proto with_setup_0:load_from_name(isometric-fountain) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_1:load_from_name(painted-dreams) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_2:load_from_name(procedural-string-lights) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_3:load_from_name(parametric-dunescape) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_4:load_from_name(red-dress) Detailed metrics
compile_demo_art_iai::compile_group::compile_to_proto with_setup_5:load_from_name(valley-of-spires) Detailed metrics
|
Seems to work fine now |
0169064
to
80a4936
Compare
80a4936
to
04b3ce4
Compare
Anything blocking this from merging? Or do you want to properly retest everything before this is merged? |
see
render_to_surface
linebender/vello#803Arc
fromoverride_image
linebender/vello#802