Skip to content

Bump gfx to latest master#1163

Merged
bors[bot] merged 1 commit intogfx-rs:masterfrom
mkeeter:bump-gfx
Jan 23, 2021
Merged

Bump gfx to latest master#1163
bors[bot] merged 1 commit intogfx-rs:masterfrom
mkeeter:bump-gfx

Conversation

@mkeeter
Copy link
Copy Markdown
Contributor

@mkeeter mkeeter commented Jan 23, 2021

Connections

  • This bumps gfx to #3610, and also includes #3608 and #3609
  • Here is a draft PR to wgpu-native
  • wgpu-rs requires a one-line fix to the texture_view_drop call (which now takes a boolean); I can PR this next.

Description
This fixes pathological shader complexity in SPIRV-Cross, as well as a few other gfx PRs.

Testing
I updated wgpu-native to use this branch, then updated my toy raytracer to use the resulting dylibs and confirmed that it no longer takes forever to compile the pathological shader.

In addition, I updated wgpu-rs and went through the examples; nothing seems out of place.

Copy link
Copy Markdown
Contributor

@monocodus monocodus bot left a comment

Choose a reason for hiding this comment

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

This is an autogenerated code review.

Checker summary (by rust_clippy):
The tool has found 93 warnings, 0 errors.

Copy link
Copy Markdown
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Highly appreciate that PR description, thank you!
bors r+

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Jan 23, 2021

@bors bors bot merged commit b23ece5 into gfx-rs:master Jan 23, 2021
bors bot added a commit to gfx-rs/wgpu-rs that referenced this pull request Jan 23, 2021
726: Bump wgpu-core and update texture_view_drop call r=kvark a=mkeeter

This PR updates to the latest `wgpu-core` commit ([wgpu #1163](gfx-rs/wgpu#1163)), and is the counterpart to [wgpu-native #66](gfx-rs/wgpu-native#66).

I'm using `wait = false` in the `texture_view_drop` call to match `buffer_drop` and `texture_drop` elsewhere `backend/direct.rs`, though I don't quite understand the implications 😅

Co-authored-by: Matt Keeter <matt.j.keeter@gmail.com>
bors bot added a commit to gfx-rs/wgpu-native that referenced this pull request Jan 23, 2021
66: Draft of wgpu-core bump r=kvark a=mkeeter

This is a draft PR to be merged after `wgpu-core` is bumped to use the latest `gfx` in [this PR](gfx-rs/wgpu#1163)

- Updates `cbindgen` instructions
- Rebuilds `wgpu/ffi.h` header
- Adds `bool now` to `wgpu_texture_view_destroy` to match other `_destroy` functions which take a bool
- Renames `now` → `wait` in `wgpu_texture_destroy` to match other `_destroy` functions which take a bool

This required one hand-edit of `wgpu.h` (commit 8c29d4b) to fix an issue where it mis-translated an `enum` into a `struct`; not sure why this happened.

(the CI build is going to fail, because I'm waiting for the `gfx` PR to be merged before bumping hashes in `Cargo.toml`)


Co-authored-by: Matt Keeter <matt.j.keeter@gmail.com>
bors bot added a commit to gfx-rs/wgpu-native that referenced this pull request Jan 23, 2021
66: Draft of wgpu-core bump r=kvark a=mkeeter

This is a draft PR to be merged after `wgpu-core` is bumped to use the latest `gfx` in [this PR](gfx-rs/wgpu#1163)

- Updates `cbindgen` instructions
- Rebuilds `wgpu/ffi.h` header
- Adds `bool now` to `wgpu_texture_view_destroy` to match other `_destroy` functions which take a bool
- Renames `now` → `wait` in `wgpu_texture_destroy` to match other `_destroy` functions which take a bool

This required one hand-edit of `wgpu.h` (commit 8c29d4b) to fix an issue where it mis-translated an `enum` into a `struct`; not sure why this happened.

(the CI build is going to fail, because I'm waiting for the `gfx` PR to be merged before bumping hashes in `Cargo.toml`)


Co-authored-by: Matt Keeter <matt.j.keeter@gmail.com>
bors bot added a commit to gfx-rs/wgpu-native that referenced this pull request Feb 2, 2021
66: Draft of wgpu-core bump r=kvark a=mkeeter

This is a draft PR to be merged after `wgpu-core` is bumped to use the latest `gfx` in [this PR](gfx-rs/wgpu#1163)

- Updates `cbindgen` instructions
- Rebuilds `wgpu/ffi.h` header
- Adds `bool now` to `wgpu_texture_view_destroy` to match other `_destroy` functions which take a bool
- Renames `now` → `wait` in `wgpu_texture_destroy` to match other `_destroy` functions which take a bool

This required one hand-edit of `wgpu.h` (commit 8c29d4b) to fix an issue where it mis-translated an `enum` into a `struct`; not sure why this happened.

(the CI build is going to fail, because I'm waiting for the `gfx` PR to be merged before bumping hashes in `Cargo.toml`)


Co-authored-by: Matt Keeter <matt.j.keeter@gmail.com>
kvark pushed a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
726: Bump wgpu-core and update texture_view_drop call r=kvark a=mkeeter

This PR updates to the latest `wgpu-core` commit ([wgpu gfx-rs#1163](gfx-rs#1163)), and is the counterpart to [wgpu-native gfx-rs#66](gfx-rs/wgpu-native#66).

I'm using `wait = false` in the `texture_view_drop` call to match `buffer_drop` and `texture_drop` elsewhere `backend/direct.rs`, though I don't quite understand the implications 😅

Co-authored-by: Matt Keeter <matt.j.keeter@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants