c4df23f65d
* Update to wgpu 0.9 * Fix validation error in WGSL shader - This moves the hardcoded vertex positions and texture coordinates to the vertex buffer. - Replaces the two-triangle quad to 1 full-screen triangle (fixes #180) - Rewrites the custom shader example to fix a bug with large surface textures; - The input texture size was used for the output texture, causing the purple rectangle to appear very jumpy on large displays in full screen. - The `ScalingRenderer` now exposes its clipping rectangle. The custom shader example uses this for its own clipping rectangle, but it can also be used for interacting with the border in general. * Switch to `wgpu::include_wgsl!()` - This is a nice little simplification. - Thanks to @JMS55 for the suggestion!
24 lines
558 B
TOML
24 lines
558 B
TOML
[package]
|
|
name = "imgui-winit"
|
|
version = "0.1.0"
|
|
authors = ["Jay Oster <jay@kodewerx.org>"]
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[features]
|
|
optimize = ["log/release_max_level_warn"]
|
|
default = ["optimize"]
|
|
|
|
[dependencies]
|
|
env_logger = "0.8"
|
|
imgui = "0.7"
|
|
imgui-winit-support = { version = "0.7.1", default-features = false, features = ["winit-25"] }
|
|
log = "0.4"
|
|
pixels = { path = "../.." }
|
|
winit = "0.25"
|
|
winit_input_helper = "0.10"
|
|
|
|
[dependencies.imgui-wgpu]
|
|
git = "https://github.com/Yatekii/imgui-wgpu-rs.git"
|
|
rev = "5980d8f3ebeda52310bb9f38d98ae1d513907e7f"
|