bors[bot] 7b0217d51c Merge #163
163: Remove Rust wrapper and examples r=kvark a=kvark

Fixes #160 
Closes #60

Everything specific to Rust API is about to be moved to https://github.com/gfx-rs/wgpu-rs
It would let this project to be a proper mirror of mozilla-central piece, and it would encourage other authors to experiment with different approaches to Rust wrappers (i.e. borrowing versus non-borrowing).

cc @jdashg

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-05-11 01:57:01 +00:00
2019-05-10 21:55:09 -04:00
2019-04-26 22:01:47 +05:30
2018-09-14 11:39:24 -04:00
2019-05-10 20:40:42 -04:00
2019-05-10 20:40:42 -04:00
2019-03-31 20:04:39 -04:00
2018-09-13 15:18:51 -04:00
2019-05-10 21:55:09 -04:00
2019-05-10 20:40:42 -04:00
2019-02-26 10:12:11 -05:00

This is an active Github mirror of the WebGPU native implementation in Rust, which now lives in Mozilla-central. Issues and pull requests are accepted, but we merge them in m-c manually and then sync to Github instead of landing directly here.


WebGPU

Build Status Crates.io Gitter

This is an experimental WebGPU implementation as a native static library. It's written in Rust and is based on gfx-hal and Rendy libraries. The corresponding WebIDL specification can be found at gpuweb project.

The implementation consists of the following parts:

  1. wgpu-native - the native implementation of WebGPU as a C API library
  2. wgpu-remote - remoting layer to work with WebGPU across the process boundary
  3. ffi - the C headers generated by cbindgen for both of the libraries

Supported platforms:

  • Vulkan on Windows and Linux
  • D3D12 and D3D11 on Windows
  • Metal on macOS and iOS

Usage

This repository contains C-language examples that link to the native library targets and perform basic rendering and computation. You can test them with make.

The idiomatic Rust wrapper lives in https://github.com/gfx-rs/wgpu-rs and provides a number of more complex examples to get a feel of the API.

Description
No description provided
Readme 137 MiB
Languages
Rust 79.9%
WGSL 16.2%
HLSL 2%
GLSL 1.7%
JavaScript 0.2%