Commit Graph

63 Commits

Author SHA1 Message Date
Gaia 433a21b6ff Update wgpu.js
mipmapFilter is being ignored and defaulting to .Nearest on web platforms due to incorrect capitalization of the field name
2025-05-22 19:46:31 -05:00
Jonathan Tron 57a92259d7 Fix wrong function name from genericAdapterInfo to genericGetAdapterInfo in wgpu.js 2025-04-10 12:02:45 +02:00
Scott Campbell b0228154d9 Fix depth stencil not working on wgpu wasm_js build 2025-04-02 00:13:45 +11:00
James Liljenquist 0113907527 Bug fixes for wgpu.js 2025-03-22 21:01:15 -06:00
Laytan Laats 71eb26ef15 wgpu: fix link in doc.odin 2025-03-03 22:18:44 +01:00
Laytan Laats 52dd651aed wgpu: device lost callback device by pointer in JS 2025-03-03 22:15:35 +01:00
Laytan 19d176c2c7 Merge pull request #4899 from Valakor/wgpu
wgpu: Some small fixes after update to v24.0.0.2
2025-03-03 21:58:27 +01:00
Laytan Laats 7fc55eb92a wgpu: move examples to examples repo 2025-03-03 21:22:59 +01:00
Matthew Pohlmann 397de28580 Fix typo: SprivShaderPassThrough -> SpirvShaderPassthrough 2025-03-02 11:13:41 -08:00
Matthew Pohlmann af897ba689 Some more fixes: ChainedStruct vs. ChainedStructOut, desiredMaximumFrameLatency, and 'const' annotations 2025-03-02 10:18:36 -08:00
Matthew Pohlmann 440c52fd53 Use ^Device instead of Maybe(Device) for device callbacks 2025-03-02 09:34:43 -08:00
Matthew Pohlmann be3f523358 wgpu v24.0.0.2 fixes 2025-03-02 09:16:40 -08:00
Laytan Laats 76bf7875f5 wgpu: update to v24.0.0.2 2025-02-28 18:38:51 +01:00
Laytan Laats a9d4cb96b0 wgpu: stringView -> StringView typo 2025-02-27 22:29:51 +01:00
Laytan Laats 1223b3e260 wgpu: fix mode which is u64 not unwrapping big int 2025-02-27 22:29:32 +01:00
Laytan Laats b6f34332fe wgpu: copy over gpu contents to cpu side when mapping 2025-02-27 22:28:49 +01:00
Laytan Laats 19b70f5ef7 wgpu: layout left blank should set it to "auto" in JS 2025-02-27 22:28:15 +01:00
Laytan Laats 1942a538d8 wgpu: fix wrapper and add more wrappers 2025-02-27 18:39:29 +01:00
Laytan Laats 1cb28f7f73 wgpu: remove mode field of uncaptured error callback info 2025-02-27 18:31:32 +01:00
Laytan Laats 30f65372de wgpu: add missing libs on Windows 2025-02-27 18:27:31 +01:00
Laytan Laats 77c7087de3 wgpu: update release 2025-02-24 20:52:14 +01:00
Laytan Laats ae9388c013 wgpu: update to v24.0.0 2025-02-17 19:55:44 +01:00
Slashscreen b7f37bbee5 removed cast. 2025-02-12 16:13:57 -08:00
Slashscreen 503813431b Switched X11 and Wayland 2025-02-12 15:58:56 -08:00
Slashscreen 2f82d4e325 fixed many oversights 2025-02-12 15:06:22 -08:00
Slashscreen 02b19b115b wgpu: add sdl3 glue 2025-02-12 14:27:16 -08:00
Laytan Laats 1511162b0a webgpu: fix cstring as parameter not loading correctly 2025-01-09 17:29:31 +01:00
Courtney Strachan 69bbd8082a Fixed typo in wgpu.js 2024-12-17 12:13:48 -08:00
Laytan Laats 44eef21997 wgpu: add missing JS impl for RenderPassEncoderSetBlendConstant 2024-10-26 22:41:52 +02:00
Laytan Laats 62922a421c wgpu: take version check out of @init, use C cc when appropriate 2024-10-20 18:40:17 +02:00
Laytan Laats eeaa9f048b fix wgpu examples after move of files in 95721fe 2024-09-29 10:39:28 +02:00
Karl Zylinski 19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. 2024-09-14 18:27:49 +02:00
Matthew Pohlmann c19da21d81 Fix wgpu on Windows - missing links to ole32.lib and oleaut32.lib 2024-09-05 21:40:15 -07:00
dek d2d5ac33f4 fix wgpu vendor lib error message 2024-09-04 22:04:06 +02:00
Laytan Laats 9684ade23e fix -vet-tabs 2024-08-27 19:13:46 +02:00
gingerBill 12bd07d2df Merge pull request #4150 from laytan/update-wgpu-to-22-1-0
wgpu: update to v22.1.0.1
2024-08-26 22:37:31 +01:00
Laytan Laats 60cd0da2ed wgpu: cont. fix sdl2glue on Linux 2024-08-26 20:24:26 +02:00
Laytan f56b895c05 wgpu: fix sdl2glue not using GetWindowWMInfo properly
Fixes #4127
2024-08-26 16:08:14 +02:00
Laytan Laats 54a420f3eb wgpu: update to v22.1.0.1 2024-08-26 15:49:12 +02:00
Laytan Laats e5a478d393 wgpu: fix examples after changing color to an array 2024-08-06 21:42:33 +02:00
Laytan 772dce7e42 Merge pull request #3969 from elvodqa/master
Add `sdl2glue` to `vendor:wgpu` package
2024-08-02 17:18:34 +02:00
Emir e55d09bdfa Update vendor/wgpu/examples/sdl2/main.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2024-08-02 18:04:36 +03:00
daniel-andersen 723e6d19be right number whoops! 2024-08-02 13:38:36 +02:00
daniel-andersen e7041f785a Quality of life changes to wgpu/wasm stuff 2024-08-02 11:04:10 +02:00
Emir c98bb7da39 Update README.md 2024-07-24 10:33:34 +03:00
Emir ba81a81ca8 Update os_sdl2.odin 2024-07-24 10:29:34 +03:00
Emir 57dc6c2e94 Update os_sdl2.odin 2024-07-24 10:27:22 +03:00
Emir 95412df129 Add newline to glue_darwin.odin 2024-07-24 10:27:00 +03:00
Emir 2a2bedc85c Fix indentation and add full example 2024-07-24 10:22:18 +03:00
Emir f9ef951b22 Add sdl2glue/glue_linux.odin 2024-07-23 22:39:50 +03:00