Stephen Gutekanst
|
0d5b853443
|
all: ensure .git* files are standard across subprojects
Produced via:
```sh
zig run ./dev/ensure-standard-files.zig
```
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-23 08:36:51 -07:00 |
|
Stephen Gutekanst
|
4199d2a001
|
all: clarify self-hosted compiler TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-20 23:37:48 -07:00 |
|
Stephen Gutekanst
|
f56606a3c3
|
gpu: workaround issue in self-hosted compiler
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-20 23:28:28 -07:00 |
|
Stephen Gutekanst
|
51932241c1
|
gpu: pretranslate @cImport to workaround self-hosted compiler bug
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-20 12:03:17 -07:00 |
|
Stephen Gutekanst
|
80e127b5ae
|
gpu: eliminate objc/message.h @cImport
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-20 12:03:17 -07:00 |
|
Stephen Gutekanst
|
e92572b776
|
gpu: examples: remove unused import
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-20 11:01:30 -07:00 |
|
Stephen Gutekanst
|
9c1f31072f
|
gpu: zig fmt
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-20 01:19:30 -07:00 |
|
Stephen Gutekanst
|
ca028ea038
|
gpu: improve compatibility with self-hosted compiler
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-19 20:44:11 -07:00 |
|
Stephen Gutekanst
|
6c401b6067
|
gpu: decouple SDK from dependencies
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-19 13:12:57 -07:00 |
|
Stephen Gutekanst
|
381f2fe9c5
|
gpu: fix redeclaration of function parameter errors
This changed in the latest version of Zig to be more strict.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-19 12:34:08 -07:00 |
|
Stephen Gutekanst
|
631d3eadbb
|
{mach,gpu}: correct unused parameter
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-18 11:29:07 -07:00 |
|
Stephen Gutekanst
|
f5d34e1247
|
{mach,gpu}: fix accidental inclusion of objc/message.h on non-darwin platforms
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-18 11:22:51 -07:00 |
|
Stephen Gutekanst
|
7227e9a13f
|
gpu: example: use default values, gpu helper APIs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-17 01:26:52 -07:00 |
|
Stephen Gutekanst
|
d918dfb496
|
gpu: correct BlendState default values
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 23:16:10 -07:00 |
|
Stephen Gutekanst
|
358baf08e2
|
gpu: add Device.createShaderModuleWGSL helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 22:00:22 -07:00 |
|
Stephen Gutekanst
|
4ba5640da4
|
gpu: correct deviceSetLoggingCallback callback optionality
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 21:59:24 -07:00 |
|
Stephen Gutekanst
|
ae5bb78e09
|
gpu: correctly allow unsetting Device.setLoggingCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 21:34:32 -07:00 |
|
Stephen Gutekanst
|
2007542231
|
gpu: correctly allow unsetting Device.setUncapturedErrorCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 21:29:06 -07:00 |
|
Stephen Gutekanst
|
612c4420d6
|
gpu: correctly allow unsetting Device.setLostCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 21:13:36 -07:00 |
|
Stephen Gutekanst
|
b28a01d2e8
|
gpu: improve ExternalTexture.Descriptor type safety
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 21:05:54 -07:00 |
|
Stephen Gutekanst
|
26ee34a09f
|
gpu: improve CopyTextureForBrowserOptions type safety
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 21:04:35 -07:00 |
|
Stephen Gutekanst
|
7e48acaff7
|
gpu: README: note that next_in_chain type safety is 100% complete
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:58:36 -07:00 |
|
Stephen Gutekanst
|
e9e506720b
|
gpu: add type-safety for chaining dawn.EncoderInternalUsageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:54:03 -07:00 |
|
Stephen Gutekanst
|
801d772752
|
gpu: add type-safety for chaining dawn.InstanceDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:49:59 -07:00 |
|
Stephen Gutekanst
|
8462427524
|
gpu: add type-safety for chaining dawn.TextureInternalUsageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:45:24 -07:00 |
|
Stephen Gutekanst
|
e4ee5e221b
|
gpu: add type-safety for chaining dawn.CacheDeviceDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:43:41 -07:00 |
|
Stephen Gutekanst
|
7fa4075714
|
gpu: add type-safety for chaining dawn.TogglesDeviceDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:42:45 -07:00 |
|
Stephen Gutekanst
|
8826cfb7a0
|
gpu: add type-safety for chaining ExternalTexture.BindingLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:36:12 -07:00 |
|
Stephen Gutekanst
|
1f0b50ba13
|
gpu: add type-safety for chaining ExternalTexture.BindingEntry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:32:03 -07:00 |
|
Stephen Gutekanst
|
34ea41e319
|
gpu: add type-safety for chaining RenderPassDescriptorMaxDrawCount
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:17:59 -07:00 |
|
Stephen Gutekanst
|
9a36a74e49
|
gpu: add type-safety for chaining PrimitiveDepthClipControl
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:16:16 -07:00 |
|
Stephen Gutekanst
|
52520d04ef
|
gpu: improve type naming for next_in_chain extension types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 20:12:25 -07:00 |
|
Stephen Gutekanst
|
26755e0837
|
gpu: update TODOs, give all chain fields default values
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 19:44:57 -07:00 |
|
Stephen Gutekanst
|
093be3aa53
|
gpu: add CompilationInfo.getMessages slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 19:32:45 -07:00 |
|
Stephen Gutekanst
|
6497f0d27b
|
gpu: add FragmentState.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 19:05:28 -07:00 |
|
Stephen Gutekanst
|
772eb9b89d
|
gpu: add VertexState.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 19:02:51 -07:00 |
|
Stephen Gutekanst
|
8cd2fb3f19
|
gpu: add VertexBufferLayout.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 18:59:52 -07:00 |
|
Stephen Gutekanst
|
e95481db21
|
gpu: add ProgrammableStageDescriptor slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 18:57:05 -07:00 |
|
Stephen Gutekanst
|
3ee9f2c18c
|
gpu: add RenderPassDescriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 18:53:41 -07:00 |
|
Stephen Gutekanst
|
6c9c4c71bb
|
gpu: add ComputePassDescriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 18:51:59 -07:00 |
|
Stephen Gutekanst
|
4dae765252
|
gpu: add Texture.Descriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 18:50:35 -07:00 |
|
Stephen Gutekanst
|
05cb8b90c9
|
gpu: add RenderBundleEncoder.Descriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 18:44:50 -07:00 |
|
Stephen Gutekanst
|
c82f640296
|
gpu: add QuerySet.Descriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:56:47 -07:00 |
|
Stephen Gutekanst
|
aaa194c5eb
|
gpu: add PipelineLayout.Descriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:37:49 -07:00 |
|
Stephen Gutekanst
|
03a9cbab9a
|
gpu: add Device.Descriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:35:18 -07:00 |
|
Stephen Gutekanst
|
5e4aa7e6df
|
gpu: add TogglesDeviceDescriptor.init slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:32:03 -07:00 |
|
Stephen Gutekanst
|
cb80cfc3c2
|
gpu: add InstanceDescriptor slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:21:19 -07:00 |
|
Stephen Gutekanst
|
c3bb1683a6
|
gpu: add BindGroup.Descriptor slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:16:52 -07:00 |
|
Stephen Gutekanst
|
67d07b0c55
|
gpu: add BindGroupLayout.Descriptor slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:12:19 -07:00 |
|
Stephen Gutekanst
|
68d5f6fcb1
|
{mach,gpu}: add autorelease pool
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-16 17:05:15 -07:00 |
|