Commit Graph

113 Commits

Author SHA1 Message Date
Andreas Reich
c0e7c1ef94 Bump core MSRV to 1.76 2024-07-20 15:55:28 -04:00
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
barrett
d4b3856031
docs(readme): use emoji literals instead of shortcodes (#5843)
Otherwise, the emojis aren't parsed on Crates.io, leaving the table without much utility unless a user navigates to GitHub.

Fixes like these are very simple, but super helpful for some users! :)
2024-06-19 18:07:59 +00:00
Samson
5735f85720
CreateBindGroup validation error on device mismatch (#5596)
* Fix cts_runner command invocation in readme

* Remove assertDeviceMatch from deno_webgpu in createBindGroup

This should be done as verification in wgpu-core.

* Add device mismatched check to create_buffer_binding

* Extract common logic to create_sampler_binding

* Move common logic to create_texture_binding and add device mismatch check
2024-04-25 12:17:00 +02:00
dependabot[bot]
e04a9f4c6f
build(deps): bump the patch-updates group with 29 updates (#5376)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 13:00:43 -04:00
dependabot[bot]
744454b9e2
Bump Many Dependencies and MSRV (#5241)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2024-02-27 14:43:05 -05: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
Jim Blandy
8af6975d5e
Prefer Arc::into_inner over Arc::try_unwrap. (#5018) 2024-01-08 19:24:33 -05:00
Meo
4de4ddcc3c
fix: docs (#4901) 2023-12-20 20:15:35 +00:00
Valaphee The Meerkat
a1fafe394f
Remove DX11 backend (#4828) 2023-12-06 15:12:46 -05:00
Leon
1823f8bbdf
Fixes and changes to the documentation for increasing clarity (#4806)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-12-01 14:02:00 -05:00
Leo Kettmeir
41fb222726
update deno (#4801) 2023-11-30 15:29:30 +01:00
Teodor Tanasoaia
f4c6faf773
Rename ALLOW_NONCOMPLIANT_ADAPTER to ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER (#4760)
* rename `ALLOW_NONCOMPLIANT_ADAPTER` to `ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER`

* clarify comment
2023-11-24 14:29:54 -05:00
Connor Fitzgerald
06e9876adf
Move to A Single Example Executable (#4756)
* Move to combined examples

* Fix paths

* Curtail some tests

* Format

* Clippy

* Fix wasm

* Refactor main for wasm

* Style sheet

* Readme

* Lock
2023-11-23 05:26:42 -05:00
i509VCB
1a7db86917
wgpu-hal(vk): Add WGPU_ALLOW_NONCOMPLIANT_ADAPTER (#4754) 2023-11-22 23:13:29 -05:00
felix sanchez
d9b3ffde72
add new line in readme (#4672) 2023-11-13 19:17:54 +00:00
Connor Fitzgerald
2a9fdf9aa1
Misc Repo Cleanup Tasks (#4579)
* Misc Repo Cleanup Tasks

* Dependency Trimming

* Dep cleanup

* Restrict libfuzzer

* Flip cfg

* mod fuzz
2023-10-27 00:15:51 -04:00
Connor Fitzgerald
e54289b08b
Update Readme 2023-10-26 01:28:27 -04:00
Connor Fitzgerald
dd9b282c72
Verbiage fixes in readme 2023-10-24 00:50:27 -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
Zoxc
2b985e2fad
Add WGL context creation and OpenGL support (#4248)
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2023-10-18 18:40:33 +00:00
Connor Fitzgerald
d2f8bd0eed
Update Readme (#4206)
* Update MSRV language

* Some more basic readme updates
2023-10-04 02:12:52 +00:00
Teodor Tanasoaia
fd02a12726
Make GLES optional on Windows & macOS (#4185) 2023-10-03 16:16:24 -04:00
Fredrik Fornwall
bf324fb947
Make power_preference_from_env() respect WGPU_POWER_PREF=none (#4076)
Also update wgpu/README.md now that default() is None.
2023-08-18 11:05:34 +02:00
Pieter-Jan Briers
e973a06268
Allow specifying minor GLES3 version (#3998) 2023-08-16 11:51:56 -04:00
Connor Fitzgerald
f1381233fb
Update dependencies (#3952) 2023-07-19 21:29:10 -04:00
Jem Bishop
597394cfe9
fix examples link (#3875) 2023-06-19 01:54:09 +00:00
Connor Fitzgerald
db39b5423e
Formatting and example command fixes (#3872) 2023-06-15 20:05:26 +00:00
Elie Michel
92f22a9716 Add a link to the webGPU C++ programming guide
This is just a suggestion, my apologies if it feels to much like advertisement!
2023-06-04 02:03:54 -04:00
Elabajaba
81569dd6c3
Updated Dxc integration for DX12 backend (#3356)
Co-authored-by: unknown <alimilhim5@gmail.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
Closes https://github.com/gfx-rs/wgpu/issues/2722
closes https://github.com/gfx-rs/wgpu/pull/3147
2023-01-18 21:25:56 +00:00
Jim Blandy
6d025a93c7
README.md: Update "Get started" link to "Running the examples". (#3242) 2022-11-28 14:38:39 -05:00
Jim Blandy
73b23f1c8d
Move minimum supported rust version (MSRV) from 1.65 back to 1.64. (#3231) 2022-11-23 21:22:03 +00:00
Erich Gubler
c04da7adae style: strip trailing whitespace from README.md 2022-11-07 17:36:04 -08:00
Erich Gubler
46af01c302 build: migrate Rust 1.64 -> 1.65 2022-11-07 17:36:04 -08:00
Erich Gubler
3d76979da6 build(ci): use RUST_VERSION for CTS consistently 2022-11-07 17:36:04 -08:00
Jinlei Li
cc448817e7
Use cargo 1.64 workspace inheritance feature (#3107) 2022-10-20 01:41:17 -04:00
char0313
d5f1941fea Change msrv and ci 2022-10-07 18:16:23 -04:00
Jim Blandy
94ce76391b Fix link in README.md. 2022-09-04 09:22:25 -07:00
Jim Blandy
254937c1b5
Explain which WGSL version wgpu supports in various configs. (#3009) 2022-09-02 20:26:46 -07:00
Nicholas Rishel
4add620d37
Fix instruction to run example test in README. (#2868) 2022-07-10 22:18:01 +00:00
Connor Fitzgerald
a3ed6e06ab
Remove depth image from readme - we don't dictate direction of depth (#2812) 2022-06-27 03:28:49 +00:00
Jinlei Li
006bbbc94d
Update the Supported Platforms table in README (#2770) 2022-06-14 05:04:14 +00:00
Alphyr
d45e6b4119
Update ash to 0.37 (#2557) 2022-03-27 22:15:58 -07:00
HeavyRain266
d5c17fc302
Add Windows 11 to section about DX12 (#2552) 2022-03-23 23:23:58 -07:00
Connor Fitzgerald
e4553d7e16 Update test status readme 2022-02-28 21:38:52 -08:00
Simon Johansson
3623f5020d
Rename ci.txt to ci.yml (#2510) 2022-02-25 22:54:03 +00:00
Connor Fitzgerald
3a5ca637d8 Update ANGLE instructions in the PATH 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
e39cf7a11f Typo in readme 2022-02-24 23:52:41 -05:00
Connor Fitzgerald
87102ccdf5 Improve shader support documentation 2022-02-22 22:32:23 -05:00