Skip to content

Use new default device - #60

Merged
Vipitis merged 6 commits into
mainfrom
default-device
Apr 12, 2026
Merged

Use new default device#60
Vipitis merged 6 commits into
mainfrom
default-device

Conversation

@Vipitis

@Vipitis Vipitis commented Mar 20, 2026

Copy link
Copy Markdown
Collaborator

Implements the default device from recent wgpu-py release.
Also had to make some changes for offscreen rendercanvas returning a numpy array.

To see where this might come in useful: pygfx/pygfx#1257

I am not sure if always requesting features is what I want. Perhaps float32-filterable is widely available.
If we only ever use the same global device, we could can also simplify remove some of the ._device properties in passes.py

@almarklein almarklein left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but one CI job is failing.

@Vipitis

Vipitis commented Mar 28, 2026

Copy link
Copy Markdown
Collaborator Author

looks like a few pixels changed,.maybe due to the new rendercanvas approach? I will replace the reference when I am back.

@Vipitis
Vipitis merged commit a0c3f4c into main Apr 12, 2026
10 checks passed
@Vipitis
Vipitis deleted the default-device branch April 12, 2026 20:55
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