Increase WGPU limits to what's supported by the adapter (#1251)

* Increase Wgpu limits

* Fix compilation of shaders

* Unbreak debug options
This commit is contained in:
Dennis Kobert
2023-05-28 00:23:47 +02:00
committed by Keavon Chambers
parent 7148b199ec
commit 6289d92e02
5 changed files with 14 additions and 5 deletions

View File

@@ -15,6 +15,9 @@ pub mod color;
pub mod discrete_srgb;
pub use adjustments::*;
#[cfg(target_arch = "spirv")]
use num_traits::Float;
pub trait Linear {
fn from_f32(x: f32) -> Self;
fn to_f32(self) -> f32;