Commit Graph

24 Commits

Author SHA1 Message Date
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
Emir
e8e51db9ff Update glue.odin 2024-07-23 20:42:26 +03:00
Emir
a429603195 Remove unused variable from example 2024-07-23 20:39:09 +03:00
Emir
f3f08a4b47 Add sdl2glue to vendor:wgpu package + triangle example 2024-07-23 20:37:26 +03:00
Laytan
7134015f56 improve WGPU / GLFW / Wayland story by weak linking and adjusting docs 2024-07-18 19:28:15 +02:00
Laytan Laats
28fac62a02 fix some bugs with -disable-assert 2024-07-16 18:44:18 +02:00
Tadeo hepperle
75076e2d64 RenderPassEncoderSetPushConstants should take a rawptr instead of cstring for the data 2024-07-13 16:01:33 +02:00
Laytan Laats
761a50e145 vendor/wgpu: fix linker errors with empty project 2024-07-02 22:37:02 +02:00
Matthew Pohlmann
4bf9de7237 SupportedLimitsExtras.chain should be a ChainedStructOut to properly chain from SupportedLimits 2024-06-27 21:53:16 -07:00
Matthew Pohlmann
0a504c2647 Some fixes to wgpu_native.
1. LogCallback should have the "c" calling convention and takes a
   userdata pointer like other callbacks.
2. DevicePoll's wrappedSubmissionIndex argument is an optional in/out
   parameter. The previous wrapper method was broken since it passed a
   non-nil structure to the underlying API with invalid members.
2024-06-27 21:41:48 -07:00
Jeroen van Rijn
e42029c5ed wgpu ld -> dl 2024-06-25 01:35:26 +02:00
Jeroen van Rijn
8eafd9eb82 wgpu import 2024-06-23 22:19:29 +02:00
gingerBill
8b446fc88d Fix wgpu paths for Windows 2024-06-20 12:18:26 +01:00
Laytan Laats
108b8feb35 Add vendor:wgpu 2024-06-12 17:22:02 +02:00