Commit graph

10 commits

Author SHA1 Message Date
Stephen Gutekanst
53e57e8e78
gpu-dawn: update Dawn to latest revision as of 2022-04-21 (#250)
upstream @ c2f9fea56bee11cf573fe90b08a296a38202500b

Includes fix for UB on Linux/Vulkan: https://github.com/hexops/dawn/pull/11

Closes hexops/mach#239

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-21 23:58:21 -07:00
Stephen Gutekanst
a127378b19 gpu-dawn: update Dawn to latest revision as of 2022-04-18
Effectively a redo of hexops/mach#231 where I messed up the submodule update by accident.

Updates Dawn to latest revision as of 2022-04-18 c7b7b6def6

* Followed https://github.com/hexops/dawn/tree/main/mach#updating
* The UB issue should now actually get fixed (once CI builds the binary releases.)
* Verified example runs on macOS.

Helps hexops/mach#221

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-18 11:38:32 -07:00
Stephen Gutekanst
e673e6c5d4
gpu-dawn: update Dawn to latest revision as of 2022-04-17 (#231)
Updates Dawn to latest revision as of 2022-04-17 69daaab759

* Followed https://github.com/hexops/dawn/tree/main/mach#updating
* Includes a fix for UB issue https://github.com/hexops/dawn/pull/9 (I will send a CL for this upstream soon.)
* Verified examples run on macOS (other OSes will get built by CI and verified later)

Closes hexops/mach#221

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-17 23:39:34 -07:00
Stephen Gutekanst
93629022c5 examples: add libs/zmath dependency
Helps hexops/mach#222

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-17 12:57:59 -07:00
Stephen Gutekanst
9db68d421f gpu-dawn: update to latest Dawn + windows patches
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 19:54:06 -07:00
Stephen Gutekanst
9ac5b603a2 gpu-dawn: add libs/DirectXShaderCompiler submodule / minor fork
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 16:05:47 -07:00
Stephen Gutekanst
86d7c7ce11 gpu-dawn: update libs/dawn to generated-2022-02-17
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00
iddev5
ad8e1a4292 gpu-dawn: Fix building after the rename of gpu -> gpu-dawn 2021-12-24 00:52:59 -07:00
Stephen Gutekanst
484f768c0a webgpu: rename to just "gpu"
It's nicer to refer to this in code as `gpu`. Additionally, `webgpu` as a name
gives the impression this is for web only which is absolutely not true but could
understandably be very confusing to newcomers.

Solve both problems by renaming to just `gpu`, and (next) updating the README to
indicate what it does and why, then explain it's WebGPU after as more of an
implementation detail.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-11-21 08:32:03 -07:00
Stephen Gutekanst
564248c09b webgpu: add libs/dawn submodule
This is a fork of Dawn which has generated sources comitted to the repo so that depot_tools,
ninja, gn, etc. are not needed.

It also enables us to track a specific version of Dawn and ensure it's compatible with our
bindings, etc.

https://github.com/hexops/dawn

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-11-21 08:32:03 -07:00