From d62a40ea34a2942a849dffef188c02d5930d3d1b Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Thu, 19 May 2022 15:35:15 -0700 Subject: [PATCH] Update piet-gpu/bin/cli.rs Co-authored-by: Chad Brokaw --- piet-gpu/bin/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piet-gpu/bin/cli.rs b/piet-gpu/bin/cli.rs index 6d7dcda..4c785eb 100644 --- a/piet-gpu/bin/cli.rs +++ b/piet-gpu/bin/cli.rs @@ -232,7 +232,7 @@ fn main() -> Result<(), Error> { let session = Session::new(device); let mut cmd_buf = session.cmd_buf()?; - let query_pool = session.create_query_pool(12)?; + let query_pool = session.create_query_pool(Renderer::QUERY_POOL_SIZE)?; let mut ctx = PietGpuRenderContext::new(); if let Some(input) = matches.value_of("INPUT") {