Strip core to render data and render graphs
Move glTF, picking, camera controls, and conventional handles into addons. Keep camera and material mutations in SIMD-aligned shared SOA rows and synchronize material updates directly into GPU buffers. Amp-Thread-ID: https://ampcode.com/threads/T-01a01380-b478-77d0-84a0-102880a5c5ae Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
cargo-features = ["profile-rustflags"]
|
||||
|
||||
[package]
|
||||
name = "renderer"
|
||||
description = "WGPU renderer core library"
|
||||
@@ -14,38 +12,18 @@ default = []
|
||||
atomics = []
|
||||
bulk-memory = []
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = [
|
||||
"-Clink-args=--shared-memory",
|
||||
"-Clink-args=--max-memory=1073741824",
|
||||
"-Clink-args=--import-memory",
|
||||
"-Clink-args=--export=__wasm_init_tls",
|
||||
"-Clink-args=--export=__tls_size",
|
||||
"-Clink-args=--export=__tls_align",
|
||||
"-Clink-args=--export=__tls_base",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
console_error_panic_hook = { workspace = true }
|
||||
console_log = { workspace = true }
|
||||
log = { workspace = true }
|
||||
wasm-logger = { workspace = true }
|
||||
web-sys = { workspace = true }
|
||||
js-sys = { workspace = true }
|
||||
bytemuck = { workspace = true }
|
||||
cgmath = { workspace = true }
|
||||
raw-window-handle = { workspace = true }
|
||||
wgpu = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
ultraviolet = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
gltf = { workspace = true }
|
||||
image = { workspace = true }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
Reference in New Issue
Block a user