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
+4 -2
View File
@@ -1,7 +1,8 @@
use dyn_any::{DynAny, StaticType};
use glam::{DAffine2, DVec2};
#[derive(Debug, Clone, DynAny)]
#[cfg_attr(not(target_arch = "spirv"), derive(Debug))]
#[derive(Clone, DynAny)]
pub struct AxisAlignedBbox {
pub start: DVec2,
pub end: DVec2,
@@ -45,7 +46,8 @@ impl AxisAlignedBbox {
}
}
#[derive(Debug, Clone)]
#[cfg_attr(not(target_arch = "spirv"), derive(Debug))]
#[derive(Clone)]
pub struct Bbox {
pub top_left: DVec2,
pub top_right: DVec2,