forked from gfx-rs/wgpu
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
100 changed files
with
23,141 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.mtl binary | ||
*.obj binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Issue or enhancement in wgpu-core | ||
url: https://github.com/gfx-rs/wgpu/issues/new/choose | ||
about: Issues with or enhancements for the core logic, validation, or the backends should go here. | ||
- name: Question about wgpu | ||
url: https://github.com/gfx-rs/wgpu-rs/discussions/new | ||
about: Any questions about how to use wgpu should go here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,4 @@ about: Strange things you want to tell us | |
title: '' | ||
labels: question | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install latest nightly | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
continue-on-error: true | ||
|
||
- name: Add EGL for OpenGL | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo apt-get install -y -qq libegl1-mesa-dev | ||
- name: Build the docs (nightly) | ||
run: | | ||
cargo +nightly doc --lib --all-features | ||
- name: Build the docs (stable) | ||
run: cargo +stable doc --lib --all-features | ||
if: ${{ failure() }} | ||
|
||
- name: Deploy the docs | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
ACCESS_TOKEN: ${{ secrets.WEB_DEPLOY }} | ||
FOLDER: target/doc | ||
REPOSITORY_NAME: gfx-rs/wgpu-rs.github.io | ||
BRANCH: master | ||
TARGET_FOLDER: doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- gecko | ||
|
||
env: | ||
RUSTFLAGS: --cfg=web_sys_unstable_apis | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install Rust WASM toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: wasm32-unknown-unknown | ||
|
||
- name: Build the examples | ||
run: cargo build --release --target wasm32-unknown-unknown --examples | ||
|
||
- name: Install wasm-bindgen-cli | ||
run: cargo install wasm-bindgen-cli | ||
|
||
- name: Generate JS bindings for the examples | ||
run: | | ||
for i in target/wasm32-unknown-unknown/release/examples/*.wasm; | ||
do | ||
wasm-bindgen --no-typescript --out-dir target/generated --web "$i"; | ||
done | ||
- name: Deploy the examples | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
ACCESS_TOKEN: ${{ secrets.WEB_DEPLOY }} | ||
FOLDER: target/generated | ||
REPOSITORY_NAME: gfx-rs/wgpu-rs.github.io | ||
BRANCH: master | ||
TARGET_FOLDER: examples/wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
/target | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
/target/ | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
#Cargo.lock | ||
|
||
# Other | ||
.fuse_hidden* | ||
.DS_Store | ||
|
||
# IDE/Editor configuration files | ||
.vscode | ||
.vs | ||
.idea | ||
|
||
# Output from capture example | ||
wgpu/red.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Change Log | ||
|
||
### v0.8 (2021-04-29) | ||
- See https://github.com/gfx-rs/wgpu/blob/v0.8/CHANGELOG.md#v08-2021-04-29 | ||
- Naga is the default shader conversion path on Metal, Vulkan, and OpenGL | ||
- SPIRV-Cross is optionally enabled with "cross" feature | ||
- All of the examples (except "texture-array") now use WGSL | ||
|
||
### v0.7 (2021-01-31) | ||
- See https://github.com/gfx-rs/wgpu/blob/v0.7/CHANGELOG.md#v07-2020-08-30 | ||
- Features: | ||
- (beta) WGSL support | ||
- better error messages | ||
- API changes: | ||
- new `ShaderModuleDescriptor` | ||
- new `RenderEncoder` | ||
|
||
### v0.6.2 (2020-11-24) | ||
- don't panic in the staging belt if the channel is dropped |
Oops, something went wrong.