bors[bot]andMarvin Löbel 022f19f94c Merge #1018
1018: Add context for errors originating from commads in a Pass r=kvark a=Kimundi

**Description**
This adds some error context information for some errors that can happen in a `{Render,Compute}Pass` to make error messages more clear.

Combined with https://github.com/gfx-rs/wgpu-rs/pull/613, errors in passes will look like this:
```
wgpu error: Validation error

Caused by:
    In a RenderPass
    In a draw command
    index 3600 extends beyond limit 38
```


Co-authored-by: Marvin Löbel <loebel.marvin@gmail.com>
2020-11-12 22:11:37 +00:00
2020-10-08 17:17:16 -04:00
2020-10-28 13:40:41 -04:00
2020-11-05 16:58:40 -05:00
2020-04-30 09:55:52 -04:00
2020-09-10 11:04:24 -04:00
2020-11-09 12:16:34 -05:00
2018-09-13 15:18:51 -04:00
2020-03-03 00:10:04 -03:30
2020-09-10 11:04:24 -04:00
2020-04-06 08:55:39 -04:00

This is an active GitHub mirror of the WebGPU implementation in Rust, which now lives in "gfx/wgpu" of Mozilla-central. Issues and pull requests are accepted, but some bidirectional synchronization may be involved.

WebGPU

Matrix Matrix Build Status

This is the core logic of an experimental WebGPU implementation. It's written in Rust and is based on gfx-hal with help of gfx-extras. See the upstream WebGPU specification (work in progress).

The implementation consists of the following parts:

  • Crates.io docs.rs - internal Rust API for WebGPU implementations to use
  • Crates.io docs.rs - Rust types shared between wgpu-core, wgpu-native, and wgpu-rs
  • player - standalone application for replaying the API traces, uses winit

This repository contains the core of wgpu, and is not usable directly by applications. If you are looking for the user-facing Rust API, you need wgpu-rs. If you are looking for the native implementation or bindings to the API in other languages, you need wgpu-native.

Supported Platforms

API Windows 7/10 Linux & Android macOS & iOS
DX11 ✅
DX12 ✔️
Vulkan ✔️ ✔️
Metal ✔️
OpenGL 🚧 🚧

✔️ = Primary support — ✅ = Secondary support — 🚧 = Unsupported, but support in progress

S
Description
A cross-platform, safe, pure-Rust graphics API.
Readme
92 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 78.5%
WGSL 13%
GLSL 3.1%
Metal 2.8%
HLSL 2.3%
Other 0.2%