mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
Merge pull request #207 from linebender/fix_query_pools
Don't reset query pool twice
This commit is contained in:
commit
98e0499b31
|
@ -585,7 +585,9 @@ impl Renderer {
|
||||||
query_pool: &QueryPool,
|
query_pool: &QueryPool,
|
||||||
query_start: u32,
|
query_start: u32,
|
||||||
) {
|
) {
|
||||||
|
if query_start == 0 {
|
||||||
cmd_buf.reset_query_pool(&query_pool);
|
cmd_buf.reset_query_pool(&query_pool);
|
||||||
|
}
|
||||||
cmd_buf.begin_debug_label("Fine raster");
|
cmd_buf.begin_debug_label("Fine raster");
|
||||||
let mut pass = cmd_buf.begin_compute_pass(&ComputePassDescriptor::timer(
|
let mut pass = cmd_buf.begin_compute_pass(&ComputePassDescriptor::timer(
|
||||||
&query_pool,
|
&query_pool,
|
||||||
|
|
Loading…
Reference in a new issue