Skip to content

Conversation

@1ace
Copy link
Contributor

@1ace 1ace commented Nov 20, 2025

Description
It's a device extension 1, so this fails 100% of the time.

The comment above mentions VK_KHR_get_physical_device_properties2, which is an instance extension 2, so let's check for that instead.

Testing
It compiles 😅

The previous code was clearly invalid so deleting it is definitely correct; replacing it as described above seems sensible, but I haven't checked what VK_KHR_get_physical_device_properties2 is needed for, so maybe it's not needed either, in which case I'm also happy to just delete it :)

Squash or Rebase?

N/A

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

…nstance extension

It's a device extension [1], so this fails 100% of the time.

The comment above mentions VK_KHR_get_physical_device_properties2, which
_is_ an instance extension [2], so let's check for that instead.

[1]: https://docs.vulkan.org/refpages/latest/refpages/source/VK_EXT_physical_device_drm.html
[2]: https://docs.vulkan.org/refpages/latest/refpages/source/VK_KHR_get_physical_device_properties2.html
@cwfitzgerald cwfitzgerald self-assigned this Nov 26, 2025
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

SGTM

@cwfitzgerald cwfitzgerald merged commit 803e48c into gfx-rs:trunk Nov 26, 2025
41 checks passed
@1ace 1ace deleted the physical_device_drm branch November 27, 2025 06:59
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