Stephen Gutekanst
|
77e96864ea
|
gpu: make Queue.writeTexture use a slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
726bdf3fba
|
gpu: adopt new dawn.json policy for optionality of slice fields, default zero values
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2b354f9226
|
mach: add missing errdefer if GLFW window creation fails
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
85ddeeed5c
|
mach: update to latest mach/gpu API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
8bce5bc0a8
|
gpu: correct Device.default_queue default value
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
d32c019b59
|
gpu: make Queue.submit API use a slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
7c09b27905
|
gpu: correct Queue.submit parameter constness
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
14b28600af
|
gpu: correct RenderPassDescriptor.occlusion_query_set nullability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
9f4a93cbef
|
gpu: update to latest revision as of 2022-08-06
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
f856fccb76
|
gpu: examples: use latest friendlier APIs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
ab71c7fd93
|
gpu: make ShaderModule.Descriptor.next_in_chain type-safe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
ce8e062249
|
gpu: make Surface.Descriptor.next_in_chain type-safe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
8a0d47b94b
|
gpu: correct context pointer alignments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
4ed932be0f
|
gpu: simplify callback context types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
48c8964679
|
gpu: README: begin tracking quality of life improvements
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
0228b50dba
|
gpu: make Device.setDeviceLostCallback friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
dec1f08dd1
|
gpu: make Device.popErrorScope friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2e611565b4
|
gpu: make Device.createRenderPipelineAsync friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
a452d03589
|
gpu: make Device.createComputePipelineAsync friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
29cd383f0e
|
gpu: make Device.setLoggingCallback friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
6f2f7056b7
|
gpu: make Device.setUncapturedErrorCallback friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
be402d4b6d
|
gpu: add TODOs about unsetting callbacks
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
45b5e4ce23
|
gpu: make Instance.requestAdapter friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
12e8bef9eb
|
gpu: make Queue.onSubmittedWorkDone friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
03d6e003a4
|
gpu: make ShaderModule.getCompilationInfo friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
a1866d2f95
|
gpu: correct Buffer method prefixes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2b4ba59cc8
|
gpu: make Buffer.bufferMapAsync friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
13058274b0
|
gpu: make Adapter.requestDevice friendlier
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
185a4231e6
|
gpu: add adapter.enumerateFeaturesOwned helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
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
|
03c348d2bf
|
gpu: correct Dawn pointer nullability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
a008f96315
|
gpu: correct Adapter.Properties.backend_type field
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
3ff682956f
|
gpu: correct ChainedStruct / ChainedStructOut next field nullability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2a39ff8f7e
|
gpu: correct implementation initialization
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
a468c51ad4
|
gpu: correct nullability of userdata pointers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
000989df5b
|
gpu: make remaining next_in_chain fields nullable
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
d88eeb27c0
|
gpu: test exporting WebGPU API without Dawn symbol conflict
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
96221fa13e
|
gpu: document implementation initialization
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
34c2590d18
|
gpu: centralize type definitions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
c7216ed240
|
gpu: correct renderPassEncoderDrawIndexed signature
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
4ef2164b2e
|
gpu: correct renderBundleEncoderFinish signature
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
4f47dae142
|
gpu: correct renderBundleEncoderDrawIndexed signature
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
9fc5ba10a1
|
gpu: correct queueWriteTexture signature
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
3def7588cd
|
gpu: correct computePassEncoderWriteTimestamp signature
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
f6e1c473fa
|
gpu: implement Dawn textureCreateView
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
f168c21c43
|
gpu: implement Dawn swapChainConfigure
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
57997bdb39
|
gpu: implement Dawn shaderModuleGetCompilationInfo
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
9e61a4b214
|
gpu: implement Dawn renderPipelineGetBindGroupLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
72ec40e8d1
|
gpu: implement Dawn renderPassEncoderDraw*
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
6ac2f9f669
|
gpu: implement Dawn renderPassEncoderDrawIndirect
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|