Commit Graph

15 Commits

Author SHA1 Message Date
Andreas Reich
7b89b6d959
Fix web example build (#5832)
* Ensure webgl example build only contains webgl and webgpu example build only contains webgpu
* fix ip printed on run-wasm
* Update examples on running examples on the web
2024-06-20 15:52:49 +02:00
Connor Fitzgerald
eeb1a9d7b7
Add Benchmarks (#5694) 2024-05-16 09:05:41 -04:00
Connor Fitzgerald
aaf6db6a3d
Vendor WebGPU Bindings from web_sys (#5325) 2024-03-01 21:13:14 +00:00
Andreas Reich
7774f31021
Allow WebGPU & WebGL in same wasm and detect WebGPU availability (#5044)
* Rename backends: web -> webgpu, direct -> wgpu_core

* rename context objects for web & core

* allow webgpu & webgl features side-by-side

* make sure webgl ci doesn't use webgpu

* update any_backend_feature_enabled

* add panicing generate_report method for compatibility

* RequestDeviceErrorKind::Web rename, fixup various cfg attributes

* automatic webgpu support detection

* changelog entry

* fix emscripten

* fix weird cfg, fix comment typo

* remove try_generate_report again

* Make get_mapped_range_as_array_buffer WebGPU only again
2024-01-14 09:45:52 +00:00
Lucas Kent
a0c2b25829
Fix xtask wasm-bindgen install (#4944)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2024-01-02 17:12:22 -05:00
Connor Fitzgerald
7a37229630
Revamp Examples to Match Website (#4765)
* Revamp examples to match website

* Small fixes

* Fix stencil_triangles on resize

* Fix

* Fix everything
2023-11-25 17:20:11 -05:00
Connor Fitzgerald
8547226176
Rewrite Example Event Loop (#4634) 2023-11-06 01:46:18 +00:00
Connor Fitzgerald
34e947de4b
Integration of Naga into Repo (#4296) 2023-10-25 16:51:36 -04:00
Connor Fitzgerald
dd84765e38
Allow xtasks to have more dependencies (#4268) 2023-10-23 15:18:28 -04:00
Connor Fitzgerald
04ac5f2851
Update WARP and Install Mesa on Windows CI (#4270) 2023-10-22 00:34:00 -04:00
Connor Fitzgerald
543f921639
GPU Test Framework (#3873) 2023-10-19 12:06:42 -04:00
dependabot[bot]
75989192a9
Bump rustix from 0.37.19 to 0.37.25 in /xtask (#4264)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 15:07:33 -04:00
Jinlei Li
9b10afd6b8
Fix the error when running the example with cargo xtask run-wasm --bin (#3963) 2023-07-22 23:10:40 -04:00
Gabriel Vogel
1858ac37f1
Make examples in main workspace visible to run-wasm xtask (#3880) 2023-06-21 20:46:03 +00:00
Erich Gubler
3c3763b71b
Add xtask for project workflows, but start small with only run-wasm (#3844) 2023-06-08 15:32:20 -04:00