bors[bot]andDzmitry Malyshau c539c1f4ab Merge #1358
1358: Big refactor of the profiling usage r=kvark a=kvark

**Connections**

**Description**
Improves the profiling markers in many ways:
  1. remove unnecessary leftovers from the `tracing` era, such as querying device/adapter features. These are one-time and light-weight. It's unlikely we are going to be interested in them.
  2. add markers to where it really matters, such as `maintain` pieces, `submit` phases, render pass preparation, etc.
  3. shorten the markers to be strictly the function names, passing the class name as a tag

**Testing**
Tested on vange-rs

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-29 06:08:14 +00:00
2021-03-12 12:39:04 -05:00
2021-02-21 11:25:45 -05:00
2020-12-03 14:52:38 -05:00
2020-09-10 11:04:24 -04:00
2021-04-27 12:23:28 -04:00
2021-02-01 02:45:31 -05:00
2018-09-13 15:18:51 -04:00
2020-03-03 00:10:04 -03:30
2021-02-01 00:35:40 -05: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 gpu-alloc and gpu-descriptor. 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 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 ✅
GL ES3 🚧

✅ = 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%