From f8405d81c02db180100b9b02055a295cbe7f595a Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 4 May 2020 19:57:43 -0700 Subject: [PATCH] Bump the number of fills per batch up --- renderer/src/gpu/shaders.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/src/gpu/shaders.rs b/renderer/src/gpu/shaders.rs index 045aa492..56005758 100644 --- a/renderer/src/gpu/shaders.rs +++ b/renderer/src/gpu/shaders.rs @@ -20,7 +20,7 @@ pub(crate) const TILE_INSTANCE_SIZE: usize = 12; const FILL_INSTANCE_SIZE: usize = 8; const CLIP_TILE_INSTANCE_SIZE: usize = 8; -pub const MAX_FILLS_PER_BATCH: usize = 0x4000; +pub const MAX_FILLS_PER_BATCH: usize = 0x10000; pub const MAX_TILES_PER_BATCH: usize = MASK_TILES_ACROSS as usize * MASK_TILES_DOWN as usize; pub struct BlitVertexArray where D: Device {