Skip to content

Conversation

@JMS55
Copy link
Collaborator

@JMS55 JMS55 commented Aug 1, 2025

  • Upgrade to wgpu 26
  • as_hal() method calls now return values instead of using nested callbacks which is nice for code quality
  • Users now pass just TextureView instead of (Texture, TextureView), as wgpu now has a function to get the texture from the view
  • Setup code has changed
    • Users now need to request an Instance from dlss_wgpu, in addition to a Device/Queue, as we now enable the instance-level DLSS extensions (before we skipped this step, as wgpu didn't provide a way to do it)
    • Users no longer need to fallback to wgpu's device/queue/instance request functions. Instead, the dlss_wgpu ones will work even if dlss is not supported, and it will tell you whether dlss is usable or not after initializing
    • We use the new wgpu APIs for requesting extra vulkan extensions, rather than replicating wgpu code for device/queue creation

Tested in bevyengine/bevy#19868.

@JMS55 JMS55 merged commit c623399 into bevyengine:main Aug 2, 2025
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.

1 participant