Stephen Gutekanst
9568bff8ab
gpu: update example to latest mach/gpu API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
cd1ac2f28e
gpu: update build logic
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Ali Chraghi
b500b04c41
all: build: install tests exe
2022-07-25 11:21:37 -07:00
alichraghi
e6adc3e350
build: add mode paramater to testStep functions
2022-07-20 18:55:59 -07:00
alichraghi
d194dafb79
build: add test-mach step to test src/ and test for testing all sub-projects
2022-07-19 09:25:55 -07:00
kamidev
68190e863a
Change std.build.Pkg.path -> std.build.Pkg.source
...
Fixes breaking change in latest Zig master, see https://github.com/ziglang/zig/pull/11557
2022-05-29 08:25:52 -07:00
iddev5
66cc8281e5
gpu: Dont link dawn and glfw in wasm32
2022-05-22 11:44:21 -07:00
Stephen Gutekanst
d664c8e55d
do not produce needless libraries ( #220 )
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-18 10:32:21 -07:00
Silver
04da4565c1
gpu: add type to pkg def in build.zig
2022-04-07 18:42:15 -07:00
Stephen Gutekanst
38095942d9
gpu: make Options public
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-05 00:16:51 -07:00
Stephen Gutekanst
451b437322
gpu: add std.build.Pkg definition
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-05 00:16:51 -07:00
Stephen Gutekanst
cd88057edd
gpu: add gpu.link to make using library elsewhere easier
...
Helps hexops/mach#189
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-05 00:16:51 -07:00
Stephen Gutekanst
13de9d6a8c
gpu: make -Ddawn-from-source=true work in gpu/ example
...
Previously this was only working in the gpu-dawn/ example.
Fixes hexops/mach#196
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-31 16:45:46 +00:00
Stephen Gutekanst
890dd57296
gpu: add run-example build command
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 00:51:48 -07:00
Stephen Gutekanst
8f5e9f89e5
gpu: expose API and begin using in example
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 00:51:48 -07:00
Stephen Gutekanst
5656d3252a
gpu: begin plotting how to wrap a WGPUInstance
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 00:51:48 -07:00
Stephen Gutekanst
718a66497c
gpu: add gpu-hello-triangle (dawn) example
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 00:51:48 -07:00
Stephen Gutekanst
376311cf16
gpu: initialize project
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 00:51:48 -07:00
Stephen Gutekanst
7af784bee7
rename mach/gpu to mach/gpu-dawn
...
See https://github.com/hexops/mach/issues/133#issuecomment-999940767
Helps #109
Helps #133
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-12-22 18:04:33 -07:00
InKryption
aae3ea8577
constify unmutated variables in build files
2021-11-22 12:59:11 -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