Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Update for wgpu-core #291

Merged
merged 1 commit into from
May 2, 2020
Merged

Update for wgpu-core #291

merged 1 commit into from
May 2, 2020

Conversation

kvark
Copy link
Member

@kvark kvark commented Apr 29, 2020

Depends on gfx-rs/wgpu#619
Closes #285

@kvark kvark requested a review from grovesNL April 29, 2020 22:34
@kvark kvark force-pushed the trace branch 2 times, most recently from 89331a4 to 95de390 Compare April 30, 2020 19:43
@kvark kvark marked this pull request as ready for review April 30, 2020 19:44
Copy link
Collaborator

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

// To see the output, run `RUST_LOG=info cargo run --example hello-compute`.
log::info!("Times: {:?}", execute_gpu(numbers).await);
let times = execute_gpu(numbers).await;
println!("Times: {:?}", times);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it's slightly distracting to special-case wasm with cfg here – I'd prefer to force the log level in main or pass a logging function to run if we want to ensure it's displayed by default

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, sure. I just got confused by the lack of output when running it

@bors bors bot merged commit 449924b into gfx-rs:master May 2, 2020
@kvark kvark deleted the trace branch May 2, 2020 04:05
kejor pushed a commit to kejor/wgpu-rs that referenced this pull request Nov 28, 2020
291: Fix sample_mask field r=kvark a=rukai

Looks like it was just missed in gfx-rs/wgpu#285

Co-authored-by: Rukai <rubickent@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants