Skip to content

Commit

Permalink
Update to ash 0.37.1 to replace deprecated function call (#3273)
Browse files Browse the repository at this point in the history
* update to ash 0.37.1 to fix CI

* changelog

* Use equals for ash version

Co-authored-by: Connor Fitzgerald <[email protected]>

Co-authored-by: Connor Fitzgerald <[email protected]>
  • Loading branch information
Elabajaba and cwfitzgerald authored Dec 8, 2022
1 parent 458fb9b commit 85fda2d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ Additionally `Surface::get_default_config` now returns an Option and returns Non

- Let the wgpu examples `framework.rs` compile again under Emscripten. By @jimblandy in [#3246](https://github.com/gfx-rs/wgpu/pull/3246)

#### Vulkan

- Update ash to 0.37.1+1.3.235 to fix CI breaking by changing a call to the deprecated `debug_utils_set_object_name()` function to `set_debug_utils_object_name()` by @elabajaba in [#3273](https://github.com/gfx-rs/wgpu/pull/3273)

### Examples

- Log adapter info in hello example on wasm target by @JolifantoBambla in [#2858](https://github.com/gfx-rs/wgpu/pull/2858)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ objc = "0.2.5"
core-graphics-types = "0.1"

# Vulkan dependencies
ash = "0.37"
ash = "0.37.1"
gpu-alloc = "0.5"
gpu-descriptor = "0.2"
android_system_properties = "0.1.1"
Expand Down
2 changes: 1 addition & 1 deletion wgpu-hal/src/vulkan/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl super::DeviceShared {
let name = unsafe { CStr::from_bytes_with_nul_unchecked(name_bytes) };

let _result = unsafe {
extension.debug_utils_set_object_name(
extension.set_debug_utils_object_name(
self.raw.handle(),
&vk::DebugUtilsObjectNameInfoEXT::builder()
.object_type(object_type)
Expand Down

0 comments on commit 85fda2d

Please sign in to comment.