Lay groundwork for directly rendering to the canvas without a cpu roundrip (#1291)

* Add Texture handle type

* Add Texture View to shader inputs

* Implement basic rendering pipeline

* Render first texture using render pipeline

* Fix output color space

* Precompute the rendering pipeline

* Move gpu context creation to editor api

* Port gpu-executor nodes to node registry

* Fix canvas nodes and make code compile for non wasm targets

* Pin wasm-bindgen version

* Disable miri temoporarily for better ci times

* Fix formatting

* Remove unsafe block

* Bump wasm-pack version

* Bump wasm-bindgen version

* Add gpu feature guard for push node

* Make Into node async
This commit is contained in:
Dennis Kobert
2023-06-07 17:13:21 +02:00
committed by GitHub
parent 3ff20ae3e4
commit 710ff5cd09
33 changed files with 1574 additions and 339 deletions

View File

@@ -107,15 +107,15 @@ jobs:
run: |
mold -run cargo nextest run
miri:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: 🧪 Run Rust miri
run: |
mold -run cargo +nightly miri nextest run -j32
#miri:
# runs-on: self-hosted
#
# steps:
# - uses: actions/checkout@v2
#
# - name: 🧪 Run Rust miri
# run: |
# mold -run cargo +nightly miri nextest run -j32
cargo-deny:
runs-on: ubuntu-latest