Stephen Gutekanst
c91fd182ce
gpu: add PrimitiveTopology enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
327b0f9257
gpu: add PresentMode enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
792e64906f
gpu: add PowerPreference enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
806ec0d147
gpu: add PipelineStatisticName enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
18dd84d6a5
gpu: add LoggingType enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
1aeefec62b
gpu: add LoadOp enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
71e6049ada
gpu: add IndexFormat enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
6e8e0febdd
gpu: add FrontFace enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
3c3a940833
gpu: add FilterMode enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
c38edecf2f
gpu: add FeatureName enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
45704d990e
gpu: add ErrorType enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
85e431a956
gpu: add ErrorFilter enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
27c4b2a548
gpu: add Device.LostReason enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
089eb3bdda
gpu: make enum namers methods
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
963f06261f
gpu: add CullMode enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
6e0c71f121
gpu: add CreatePipelineAsyncStatus enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
b0682df01b
gpu: add ComputePassTimestampLocation enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
8f28b65fed
gpu: add CompilationMessageType enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
06661ce9e1
gpu: add CompilationInfoRequestStatus enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
3a4abcef6f
gpu: add CompareFunction enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
19425d4f86
gpu: add Buffer.MapAsyncStatus
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
87b06cf373
gpu: add Buffer.BindingType enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
97b21c8ac8
gpu: add BlendOperation enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
8115d0cbf7
gpu: add BlendFactor enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
78685c19a0
gpu: add BackendType enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
8ca3d666a3
gpu: add AlphaMode enum
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
4163005eb5
gpu: ref all decls in test
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
ee65cb286c
gpu: add Sampler.AddressMode
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
af9c01d851
gpu: add Adapter.Type
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
7d2ecdf197
gpu: expose opaque pointer types
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
0ae04f1d87
gpu: translate opaque pointer types
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
32a26d8f12
gpu: translate constants
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
919499327e
gpu: update README, add TODO-webgpu.h
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
2174936469
gpu: prepare for full-scale rewrite of library
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00
Stephen Gutekanst
9d05e7c656
glfw: collapse/hide Gyro instructions by default to avoid confusion
2022-08-11 05:10:36 -07:00
Release automation
98a61dc01c
gpu-dawn: update to latest binary release
2022-08-08 05:43:06 +00:00
Stephen Gutekanst
9a039524a8
glfw: update Vulkan headers
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-07 22:05:00 -07:00
Stephen Gutekanst
d4fb7bf42a
gpu-dawn: fix duplicate symbol main on x86_64-linux
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-07 22:04:54 -07:00
Stephen Gutekanst
8651d16011
glfw: update Linux system SDKs (update vulkan-headers to v1.3.224)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 21:39:49 -07:00
Stephen Gutekanst
ebdc09bfa1
glfw: update Windows system SDK for Dawn compilation (reduce rpcndr_hack)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 20:16:28 -07:00
Stephen Gutekanst
38ebec0a1f
gpu-dawn: build: update to latest Dawn revision
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 20:16:28 -07:00
Stephen Gutekanst
9b30005283
gpu-dawn: update Dawn to latest revision as of 2022-08-06
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 20:16:28 -07:00
Stephen Gutekanst
5aa692b4e5
gpu-dawn: workaround missing pthread issue in abseil-cpp
...
abseil-cpp now depends on `pthread.h`, it previously didn't. But this appears to
be a bug in abseil of sorts, because if you have `ABSL_FORCE_THREAD_IDENTITY_MODE` set
to `ABSL_THREAD_IDENTITY_MODE_USE_CPP11` it doesn't appear to be used/needed.
[Zig doesn't ship with pthread for the MinGW / `x86_64-windows-gnu` target](https://github.com/ziglang/zig/issues/10989 ),
and so the header is missing - but we don't actually need it, so we just add an
empty file to prevent the missing include error.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 20:16:28 -07:00
LeRoyce Pearson
f4611e1414
mach: add headless option ( #450 )
...
Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
2022-08-06 19:38:04 -07:00
Ali Chraghi
2045142057
build: remove gpu-dawn test step
2022-08-06 08:20:18 -07:00
Ali Chraghi
b5d8c669a2
CI: remove unneeded builds on sub-projects
2022-08-06 08:20:18 -07:00
Stephen Gutekanst
4bf9fc5821
glfw: update Linux system SDKs for Vulkan v1.3 headers
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 03:19:39 -07:00
Stephen Gutekanst
7df31b6d38
glfw: update Linux system SDKs for newer Vulkan headers
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 02:40:08 -07:00
Stephen Gutekanst
fbfd2f336b
remove Zig example in favor of mach/gpu one
...
`mach/gpu` has an example of how to use the bindings: https://github.com/hexops/mach/tree/main/gpu/examples
The example here is largely duplicative of that, and doesn't currently build. It would need to be updated
to reflect the latest Dawn example code.
Instead, let's keep `mach/gpu-dawn` just scoped to building Dawn with Zig. `mach/gpu` will deal with using it.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 01:46:19 -07:00
Stephen Gutekanst
0e68ba36eb
gpu-dawn: remove Mach C shims
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-06 01:25:52 -07:00