Kunal Mohan
9c3967158a
defer encoding errors to finish()
2020-08-22 17:43:10 +05:30
Kunal Mohan
1d80f57aab
Record errors in GPUCommandEncoder.BeginPass() and EncoderPass.endPass()
2020-08-07 22:36:05 +05:30
Kunal Mohan
ce6e09a3aa
Change ErrorScopeId type to NonZeroU64
...
And extract it from WebGPURequest
2020-08-03 01:45:29 +05:30
Kunal Mohan
8cb5fad828
Report errors from void returning operations
2020-08-01 16:32:37 +05:30
Kunal Mohan
aff22db33f
Implement GPURenderBundleEncoder and GPURenderBundle
2020-07-24 12:45:23 +05:30
Kunal Mohan
cdc0a75fe4
Update GPUObjectBase webidl and cleanup valid flags
2020-07-20 23:03:53 +05:30
Kunal Mohan
b74cea3a46
Implement GPUBuffer.mapAsync and update wgpu-core
2020-06-27 20:27:17 +05:30
Kunal Mohan
48ef306bd3
Update wgpu-core and wgpu-types
2020-06-19 11:12:50 +05:30
Kunal Mohan
1d4efb48ba
Implement GPURenderPassEncoder
...
Add webidls for GPURenderPassEncoder and GPURenderEncoderBase and
implement relevant methods.
2020-06-04 00:27:58 +05:30
Kunal Mohan
a4f911699a
Upgrade wgpu-core version to 0.5.0 and implement server-side logic for wgpu id recycling
...
Remove current implementation of MapReadAsync
2020-05-21 18:28:49 +05:30
Kunal Mohan
1aeae47299
Validate copybuffertobuffer() + some spec update
...
The spec update includes renaming bindings to entries and
adding CommandEncoderState.
2020-05-15 22:55:08 +05:30
YUAN LYU
3ea6d87bcc
Add trait DomObjectWrap to provide WRAP function
2020-03-20 22:16:56 -04:00
Istvan Miklos
000a5d543d
Fixing some style related issues in WebGPU.
...
Changed the Requests/Response from tuples to named struct variants and also sorted in alphabetical order.
Replaced the ID generator functions from `globalscope` with a single function,
which returns a `RefMut` and can call the appropriate method to generate resource IDs.
2020-02-27 15:10:24 +01:00
Istvan Miklos
170e9971ac
Implement GPUComputePassEncoder functions
...
Implement the `dispatch`, `endPass`, `setBindGroup`, `setPipeline` functions of `GPUComputePassEncoder`.
2020-02-19 11:19:59 +01:00
Zakor Gyula
4facd3d4d2
Initial implementation of GPUCommandEncoder
...
Added WebIDL bindings for `GPUCommandEncoder`, `GPUCommandBuffer`, `GPUComputePassEncoder`, `GPUProgrammablePassEncoder`.
Implemented the `beginComputePass`, `copyBufferToBuffer` and `finish` functions of `GPUCommandEncoder`.
Implemented the `createCommandEncoder` function of `GPUDevice`.
2020-02-11 10:20:34 +01:00