fix(web): use compatibility renderer

Chromium can advertise WebGPU limits that its shader path does not reliably support. Keep web builds on the packed/texture pipelines.\n\nRefs #788
This commit is contained in:
Hakan Seven committed 2026-08-18 22:35:39 +03:00
1 parent 7c818d15e9
commit 97a6322e2a
2 files changed
+3 -7

No files matched your search

+1 -3
View File
@@ -2,9 +2,7 @@ use iced::wgpu;
/// Renderer-relevant limits of the selected GPU device.
///
/// Capabilities, not the compilation target, choose the renderer tier. Browser
/// WebGPU and native Vulkan/Metal/DX12 can therefore share storage-backed
/// pipelines, while WebGL2 and weak native adapters use compatibility paths.
/// Native devices select by limits; browser builds use compatibility paths.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct DeviceCapabilities {
pub max_storage_buffers_per_shader_stage: u32,