Skip to content

Commit

Permalink
Update wgpu dependency to match pygfx (#32)
Browse files Browse the repository at this point in the history
* update wgpu dependency

* Fixup patch for wgpu 0.16.0 compatibility

---------

Co-authored-by: Jan <[email protected]>
  • Loading branch information
hmaarrfk and Vipitis authored Jul 21, 2024
1 parent 9d37dab commit d231cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
name = "wgpu-shadertoy"
dynamic = ["version", "readme"]
dependencies = [
"wgpu>=0.14.1,<0.15.0",
"wgpu>=0.16.0,<0.17.0",
"requests",
"numpy",
"Pillow",
Expand Down
2 changes: 1 addition & 1 deletion tests/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_wgpu_backend():
"""
Query the configured wgpu backend driver.
"""
code = "import wgpu.utils; info = wgpu.utils.get_default_device().adapter.request_adapter_info(); print(info['adapter_type'], info['backend_type'])"
code = "import wgpu.utils; info = wgpu.utils.get_default_device().adapter.info; print(info['adapter_type'], info['backend_type'])"
result = subprocess.run(
[
sys.executable,
Expand Down

0 comments on commit d231cb8

Please sign in to comment.