gecko-dev/third_party/rust/gfx-backend-dx11
Dzmitry Malyshau 1da5651ba2 Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.

Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-08-18 14:11:21 +00:00
..
shaders Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio 2021-08-18 14:11:21 +00:00
src Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio 2021-08-18 14:11:21 +00:00
.cargo-checksum.json Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio 2021-08-18 14:11:21 +00:00
Cargo.toml Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio 2021-08-18 14:11:21 +00:00
README.md Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio 2021-08-18 14:11:21 +00:00

README.md

gfx_device_dx11

DX11 backend for gfx.

Normalized Coordinates

Render Depth Texture
render_coordinates depth_coordinates texture_coordinates

Binding Model

Writable storage bindings:

  1. Binding: 0 .. D3D11_PS_CS_UAV_REGISTER_COUNT

Other bindings:

  1. Shader stage: vs, fs, cs
  2. Register: constant buffers (CBV), shader resources (SRV), samplers
  3. Binding (tight)

Mirroring

TODO