From 61d5911e897a6f6b385cf9987e6ce26353ea2140 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 2 May 2022 23:44:28 -0700 Subject: [PATCH] Raise `wgpu_hal::MAX_COLOR_TARGETS` to 8. --- wgpu-hal/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-hal/src/lib.rs b/wgpu-hal/src/lib.rs index 891381e50a..2cb03e2572 100644 --- a/wgpu-hal/src/lib.rs +++ b/wgpu-hal/src/lib.rs @@ -97,7 +97,7 @@ use thiserror::Error; pub const MAX_ANISOTROPY: u8 = 16; pub const MAX_BIND_GROUPS: usize = 8; pub const MAX_VERTEX_BUFFERS: usize = 16; -pub const MAX_COLOR_TARGETS: usize = 4; +pub const MAX_COLOR_TARGETS: usize = 8; pub const MAX_MIP_LEVELS: u32 = 16; /// Size of a single occlusion/timestamp query, when copied into a buffer, in bytes. pub const QUERY_SIZE: wgt::BufferAddress = 8;