Kunal Mohan
851f83c61f
Prevent redundant texture and buffer destroy calls
2020-08-25 11:07:25 +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
8eff1d74de
Record validation error in mapAsync()
2020-08-02 14:25:18 +05:30
Kunal Mohan
cd8d9162e6
Error handling for promise returning operations
2020-08-02 12:45:22 +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
b672b78e19
WebGPU update presentation data asynchronously
2020-07-03 15:42:08 +05:30
Kunal Mohan
891a3bd30e
Encapsulate buffer map fields in a separate struct
2020-07-01 23:58:55 +05:30
Kunal Mohan
575036bb88
Implement GPUBuffer.getMappedRange()
2020-07-01 20:37:17 +05:30
Kunal Mohan
db2d313a1b
Fix ArrayBuffer creation in buffer mapping
2020-06-27 21:32:18 +05:30
Kunal Mohan
b484836dbc
Ensure proper unmap of buffer
2020-06-27 20:27:18 +05:30
Kunal Mohan
ef3b141406
address review comments
2020-06-27 20:27:18 +05:30
Kunal Mohan
b74cea3a46
Implement GPUBuffer.mapAsync and update wgpu-core
2020-06-27 20:27:17 +05:30
Kunal Mohan
00b3f785c4
Add GPUSampler and GPUTextureView to BindingResource
...
Add validation for BindGroups
2020-06-17 12:45:40 +05:30
Kunal Mohan
3b5ede153d
Update wgpu-core and wgpu-types
2020-06-04 01:19:13 +05:30
Kunal Mohan
f4d0183568
Make WebGPU resource creation fully async
...
Remove some garbage code in adapter id checks
Prevent panic during shutdown if using WebGPU
2020-05-26 19:16:46 +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
2df4d9fce4
Implement mapReadAsync function of GPUBuffer
...
Implemented the `mapReadAsync` and fixed the `unmap` functions of `GPUBuffer`.
Added `mapped` internal slot for tracking the ArrayBuffer/Promise.
Added more states to the `GPUBufferState` enum.
2020-02-25 10:18:36 +01:00
Zakor
a3c6810b18
Initial implementation of GPUQueue
...
Added WebIDL bindings for `GPUQueue`.
Implemented the `submit` function of `GPUQueue` and `defaultQueue` function of `GPUDevice`.
2020-02-13 14:37:25 +01:00
Istvan Miklos
3cefc5f3a1
Initial implementation of GPUBindGroup for WebGPU
...
Added WebIDL bindings for `GPUBindGroup`.
Implemented the `createBindGroup` function of `GPUDevice`
2020-01-30 14:45:01 +01:00
Zakor Gyula
a751b1c3d7
Only start WebGPU thread if an adapter is requested
2020-01-13 10:39:23 +01:00
Istvan Miklos
ebfcd0f27f
Initial implementation of GPUBuffer for WebGPU
...
Added WebIDL bindings for GPUBuffer, GPUBufferDescriptor, GPUBufferUsage
Implemented the `createBuffer` and `createBufferMapped` functions of GPUDevice
2019-12-17 11:00:08 +01:00