-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add DX12 and Metal backends #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mitchmindtree
pushed a commit
to mitchmindtree/wgpu
that referenced
this pull request
Feb 23, 2020
157: Handle resizing in hello-triangle r=kvark a=quadrupleslap Nothing gets drawn on my computer unless the swap chain is resized along with the window. ``` $ uname -a Linux red 5.3.7-arch1-1-ARCH gfx-rs#1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64 GNU/Linux $ wmctrl -m Name: bspwm Class: wm PID: 665 Window manager's "showing the desktop" mode: N/A ``` Co-authored-by: Ram Kaniyur <quadrupleslap@gmail.com>
kvark
pushed a commit
that referenced
this pull request
Jun 3, 2021
157: Handle resizing in hello-triangle r=kvark a=quadrupleslap Nothing gets drawn on my computer unless the swap chain is resized along with the window. ``` $ uname -a Linux red 5.3.7-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64 GNU/Linux $ wmctrl -m Name: bspwm Class: wm PID: 665 Window manager's "showing the desktop" mode: N/A ``` Co-authored-by: Ram Kaniyur <quadrupleslap@gmail.com>
bors bot
added a commit
that referenced
this pull request
Jul 21, 2021
1698: Feature-gate include_spirv macro r=cwfitzgerald a=dhardy `wgpu::util::make_spirv` is gated behind the `spirv` feature; the `include_spirv` macro should be too. Error before this change (with macro-backtrace on): ``` error[E0425]: cannot find function `make_spirv` in module `$crate::util` --> /home/dhardy/.cargo/git/checkouts/wgpu-53e70f8674b08dd4/145da6a/wgpu/src/macros.rs:54:39 | 48 | / macro_rules! include_spirv { 49 | | ($($token:tt)*) => { 50 | | { 51 | | //log::info!("including '{}'", $($token)*); ... | 54 | | source: $crate::util::make_spirv(include_bytes!($($token)*)), | | ^^^^^^^^^^ not found in `$crate::util` ... | 57 | | }; 58 | | } | |_- in this expansion of `include_spirv!` (#2) | ::: kas-wgpu/src/draw/shaders.rs:24:1 | 24 | / macro_rules! create { 25 | | ($device:ident, $path:expr) => {{ 26 | | $device.create_shader_module(&include_spirv!($path)) | | --------------------- in this macro invocation (#2) 27 | | }}; 28 | | } | |_- in this expansion of `create!` (#1) ... 42 | let frag_glyph = create!(device, "shaders/glyph.frag.spv"); | ----------------------------------------- in this macro invocation (#1) ``` Co-authored-by: Diggory Hardy <git@dhardy.name>
Elabajaba
pushed a commit
to Elabajaba/wgpu
that referenced
this pull request
Apr 2, 2023
Bump cargo-run-wasm from 0.3.0 to 0.3.2 (gfx-rs#3629)
cwfitzgerald
pushed a commit
that referenced
this pull request
Oct 26, 2023
1: Initialize crate r=kvark a=msiglreith The crate is supposed to be a Rust wrapper around D3D12. Motivated by trying to hide the FFI behind a nicer to use layer (part of BAL). It aims at providing a zero-cost abstraction without any overhead at all (no transition costs between Rust structs and D3D12 structs or allocations). The API closely ressambles the d3d12 interfaces and is strucutered accordingly. It currently uses a custom `ComPtr` implementation which does not do any refcounting, therefore requires manual destruction when dropping. Co-authored-by: msiglreith <m.siglreith@gmail.com>
Nelarius
pushed a commit
to Nelarius/wgpu
that referenced
this pull request
Sep 29, 2024
fix validation
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.