git clone https://garage44.eu/jeroen/pinnacle.git.. /ports/wgpu-demo/Cargo.toml
[package]
name = "wgpu-demo"
description = "A wgpu app on Pinnacle: a window from the display server, drawn by the GPU through Pinnacle's Vulkan driver"
version = "0.1.0"
edition = "2024"
license = "GPL-3.0-or-later"
publish = false
# Built by `cargo xtask wgpu-demo` against Pinnacle's std with the ports
# switched in; not part of the system.
[workspace]
[dependencies]
winit = { version = "=0.30.13", default-features = false, features = ["rwh_06"] }
wgpu = { version = "=30.0.1", default-features = false, features = ["std", "vulkan", "wgsl"] }
pollster = "0.4"
# Linked in, for wgpu's ash and wgpu-hal (ports) to reach.
pinnacle-vulkan = { path = "../../vulkan" }
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
debug = true
# The system loads the program whole: without its debug info.
strip = "debuginfo"
[profile.dev]
panic = "abort"