From 510b0e7b9b58413891f1423bc5dfd8d7a888fd76 Mon Sep 17 00:00:00 2001 From: Li Hao Date: Thu, 4 Jun 2020 09:52:10 +0800 Subject: [PATCH] Remove argument in endOcclusionQuery We clarify begin/end operations are not allowed to be nested, so remove argument in endOcclusionQuery as same as endPipelineStatisticsQuery. --- spec/index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/index.bs b/spec/index.bs index 649266ad46..526395c17b 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -3852,7 +3852,7 @@ interface GPURenderPassEncoder { void setStencilReference(GPUStencilValue reference); void beginOcclusionQuery(GPUSize32 queryIndex); - void endOcclusionQuery(GPUSize32 queryIndex); + void endOcclusionQuery(); void beginPipelineStatisticsQuery(GPUQuerySet querySet, GPUSize32 queryIndex); void endPipelineStatisticsQuery();