@@ -323,15 +323,14 @@ typedef enum WGPUFeatureName {
323
323
WGPUFeatureName_DepthClipControl = 0x00000001 ,
324
324
WGPUFeatureName_Depth32FloatStencil8 = 0x00000002 ,
325
325
WGPUFeatureName_TimestampQuery = 0x00000003 ,
326
- WGPUFeatureName_PipelineStatisticsQuery = 0x00000004 ,
327
- WGPUFeatureName_TextureCompressionBC = 0x00000005 ,
328
- WGPUFeatureName_TextureCompressionETC2 = 0x00000006 ,
329
- WGPUFeatureName_TextureCompressionASTC = 0x00000007 ,
330
- WGPUFeatureName_IndirectFirstInstance = 0x00000008 ,
331
- WGPUFeatureName_ShaderF16 = 0x00000009 ,
332
- WGPUFeatureName_RG11B10UfloatRenderable = 0x0000000A ,
333
- WGPUFeatureName_BGRA8UnormStorage = 0x0000000B ,
334
- WGPUFeatureName_Float32Filterable = 0x0000000C ,
326
+ WGPUFeatureName_TextureCompressionBC = 0x00000004 ,
327
+ WGPUFeatureName_TextureCompressionETC2 = 0x00000005 ,
328
+ WGPUFeatureName_TextureCompressionASTC = 0x00000006 ,
329
+ WGPUFeatureName_IndirectFirstInstance = 0x00000007 ,
330
+ WGPUFeatureName_ShaderF16 = 0x00000008 ,
331
+ WGPUFeatureName_RG11B10UfloatRenderable = 0x00000009 ,
332
+ WGPUFeatureName_BGRA8UnormStorage = 0x0000000A ,
333
+ WGPUFeatureName_Float32Filterable = 0x0000000B ,
335
334
WGPUFeatureName_Force32 = 0x7FFFFFFF
336
335
} WGPUFeatureName WGPU_ENUM_ATTRIBUTE ;
337
336
@@ -367,15 +366,6 @@ typedef enum WGPUMipmapFilterMode {
367
366
WGPUMipmapFilterMode_Force32 = 0x7FFFFFFF
368
367
} WGPUMipmapFilterMode WGPU_ENUM_ATTRIBUTE ;
369
368
370
- typedef enum WGPUPipelineStatisticName {
371
- WGPUPipelineStatisticName_VertexShaderInvocations = 0x00000000 ,
372
- WGPUPipelineStatisticName_ClipperInvocations = 0x00000001 ,
373
- WGPUPipelineStatisticName_ClipperPrimitivesOut = 0x00000002 ,
374
- WGPUPipelineStatisticName_FragmentShaderInvocations = 0x00000003 ,
375
- WGPUPipelineStatisticName_ComputeShaderInvocations = 0x00000004 ,
376
- WGPUPipelineStatisticName_Force32 = 0x7FFFFFFF
377
- } WGPUPipelineStatisticName WGPU_ENUM_ATTRIBUTE ;
378
-
379
369
typedef enum WGPUPowerPreference {
380
370
WGPUPowerPreference_Undefined = 0x00000000 ,
381
371
WGPUPowerPreference_LowPower = 0x00000001 ,
@@ -401,8 +391,7 @@ typedef enum WGPUPrimitiveTopology {
401
391
402
392
typedef enum WGPUQueryType {
403
393
WGPUQueryType_Occlusion = 0x00000000 ,
404
- WGPUQueryType_PipelineStatistics = 0x00000001 ,
405
- WGPUQueryType_Timestamp = 0x00000002 ,
394
+ WGPUQueryType_Timestamp = 0x00000001 ,
406
395
WGPUQueryType_Force32 = 0x7FFFFFFF
407
396
} WGPUQueryType WGPU_ENUM_ATTRIBUTE ;
408
397
@@ -894,8 +883,6 @@ typedef struct WGPUQuerySetDescriptor {
894
883
WGPU_NULLABLE char const * label ;
895
884
WGPUQueryType type ;
896
885
uint32_t count ;
897
- WGPUPipelineStatisticName const * pipelineStatistics ;
898
- size_t pipelineStatisticsCount ;
899
886
} WGPUQuerySetDescriptor WGPU_STRUCTURE_ATTRIBUTE ;
900
887
901
888
typedef struct WGPUQueueDescriptor {
@@ -1305,11 +1292,9 @@ typedef void (*WGPUProcCommandEncoderReference)(WGPUCommandEncoder commandEncode
1305
1292
typedef void (* WGPUProcCommandEncoderRelease )(WGPUCommandEncoder commandEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1306
1293
1307
1294
// Procs of ComputePassEncoder
1308
- typedef void (* WGPUProcComputePassEncoderBeginPipelineStatisticsQuery )(WGPUComputePassEncoder computePassEncoder , WGPUQuerySet querySet , uint32_t queryIndex ) WGPU_FUNCTION_ATTRIBUTE ;
1309
1295
typedef void (* WGPUProcComputePassEncoderDispatchWorkgroups )(WGPUComputePassEncoder computePassEncoder , uint32_t workgroupCountX , uint32_t workgroupCountY , uint32_t workgroupCountZ ) WGPU_FUNCTION_ATTRIBUTE ;
1310
1296
typedef void (* WGPUProcComputePassEncoderDispatchWorkgroupsIndirect )(WGPUComputePassEncoder computePassEncoder , WGPUBuffer indirectBuffer , uint64_t indirectOffset ) WGPU_FUNCTION_ATTRIBUTE ;
1311
1297
typedef void (* WGPUProcComputePassEncoderEnd )(WGPUComputePassEncoder computePassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1312
- typedef void (* WGPUProcComputePassEncoderEndPipelineStatisticsQuery )(WGPUComputePassEncoder computePassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1313
1298
typedef void (* WGPUProcComputePassEncoderInsertDebugMarker )(WGPUComputePassEncoder computePassEncoder , char const * markerLabel ) WGPU_FUNCTION_ATTRIBUTE ;
1314
1299
typedef void (* WGPUProcComputePassEncoderPopDebugGroup )(WGPUComputePassEncoder computePassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1315
1300
typedef void (* WGPUProcComputePassEncoderPushDebugGroup )(WGPUComputePassEncoder computePassEncoder , char const * groupLabel ) WGPU_FUNCTION_ATTRIBUTE ;
@@ -1407,14 +1392,12 @@ typedef void (*WGPUProcRenderBundleEncoderRelease)(WGPURenderBundleEncoder rende
1407
1392
1408
1393
// Procs of RenderPassEncoder
1409
1394
typedef void (* WGPUProcRenderPassEncoderBeginOcclusionQuery )(WGPURenderPassEncoder renderPassEncoder , uint32_t queryIndex ) WGPU_FUNCTION_ATTRIBUTE ;
1410
- typedef void (* WGPUProcRenderPassEncoderBeginPipelineStatisticsQuery )(WGPURenderPassEncoder renderPassEncoder , WGPUQuerySet querySet , uint32_t queryIndex ) WGPU_FUNCTION_ATTRIBUTE ;
1411
1395
typedef void (* WGPUProcRenderPassEncoderDraw )(WGPURenderPassEncoder renderPassEncoder , uint32_t vertexCount , uint32_t instanceCount , uint32_t firstVertex , uint32_t firstInstance ) WGPU_FUNCTION_ATTRIBUTE ;
1412
1396
typedef void (* WGPUProcRenderPassEncoderDrawIndexed )(WGPURenderPassEncoder renderPassEncoder , uint32_t indexCount , uint32_t instanceCount , uint32_t firstIndex , int32_t baseVertex , uint32_t firstInstance ) WGPU_FUNCTION_ATTRIBUTE ;
1413
1397
typedef void (* WGPUProcRenderPassEncoderDrawIndexedIndirect )(WGPURenderPassEncoder renderPassEncoder , WGPUBuffer indirectBuffer , uint64_t indirectOffset ) WGPU_FUNCTION_ATTRIBUTE ;
1414
1398
typedef void (* WGPUProcRenderPassEncoderDrawIndirect )(WGPURenderPassEncoder renderPassEncoder , WGPUBuffer indirectBuffer , uint64_t indirectOffset ) WGPU_FUNCTION_ATTRIBUTE ;
1415
1399
typedef void (* WGPUProcRenderPassEncoderEnd )(WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1416
1400
typedef void (* WGPUProcRenderPassEncoderEndOcclusionQuery )(WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1417
- typedef void (* WGPUProcRenderPassEncoderEndPipelineStatisticsQuery )(WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1418
1401
typedef void (* WGPUProcRenderPassEncoderExecuteBundles )(WGPURenderPassEncoder renderPassEncoder , size_t bundleCount , WGPURenderBundle const * bundles ) WGPU_FUNCTION_ATTRIBUTE ;
1419
1402
typedef void (* WGPUProcRenderPassEncoderInsertDebugMarker )(WGPURenderPassEncoder renderPassEncoder , char const * markerLabel ) WGPU_FUNCTION_ATTRIBUTE ;
1420
1403
typedef void (* WGPUProcRenderPassEncoderPopDebugGroup )(WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
@@ -1543,11 +1526,9 @@ WGPU_EXPORT void wgpuCommandEncoderReference(WGPUCommandEncoder commandEncoder)
1543
1526
WGPU_EXPORT void wgpuCommandEncoderRelease (WGPUCommandEncoder commandEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1544
1527
1545
1528
// Methods of ComputePassEncoder
1546
- WGPU_EXPORT void wgpuComputePassEncoderBeginPipelineStatisticsQuery (WGPUComputePassEncoder computePassEncoder , WGPUQuerySet querySet , uint32_t queryIndex ) WGPU_FUNCTION_ATTRIBUTE ;
1547
1529
WGPU_EXPORT void wgpuComputePassEncoderDispatchWorkgroups (WGPUComputePassEncoder computePassEncoder , uint32_t workgroupCountX , uint32_t workgroupCountY , uint32_t workgroupCountZ ) WGPU_FUNCTION_ATTRIBUTE ;
1548
1530
WGPU_EXPORT void wgpuComputePassEncoderDispatchWorkgroupsIndirect (WGPUComputePassEncoder computePassEncoder , WGPUBuffer indirectBuffer , uint64_t indirectOffset ) WGPU_FUNCTION_ATTRIBUTE ;
1549
1531
WGPU_EXPORT void wgpuComputePassEncoderEnd (WGPUComputePassEncoder computePassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1550
- WGPU_EXPORT void wgpuComputePassEncoderEndPipelineStatisticsQuery (WGPUComputePassEncoder computePassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1551
1532
WGPU_EXPORT void wgpuComputePassEncoderInsertDebugMarker (WGPUComputePassEncoder computePassEncoder , char const * markerLabel ) WGPU_FUNCTION_ATTRIBUTE ;
1552
1533
WGPU_EXPORT void wgpuComputePassEncoderPopDebugGroup (WGPUComputePassEncoder computePassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1553
1534
WGPU_EXPORT void wgpuComputePassEncoderPushDebugGroup (WGPUComputePassEncoder computePassEncoder , char const * groupLabel ) WGPU_FUNCTION_ATTRIBUTE ;
@@ -1645,14 +1626,12 @@ WGPU_EXPORT void wgpuRenderBundleEncoderRelease(WGPURenderBundleEncoder renderBu
1645
1626
1646
1627
// Methods of RenderPassEncoder
1647
1628
WGPU_EXPORT void wgpuRenderPassEncoderBeginOcclusionQuery (WGPURenderPassEncoder renderPassEncoder , uint32_t queryIndex ) WGPU_FUNCTION_ATTRIBUTE ;
1648
- WGPU_EXPORT void wgpuRenderPassEncoderBeginPipelineStatisticsQuery (WGPURenderPassEncoder renderPassEncoder , WGPUQuerySet querySet , uint32_t queryIndex ) WGPU_FUNCTION_ATTRIBUTE ;
1649
1629
WGPU_EXPORT void wgpuRenderPassEncoderDraw (WGPURenderPassEncoder renderPassEncoder , uint32_t vertexCount , uint32_t instanceCount , uint32_t firstVertex , uint32_t firstInstance ) WGPU_FUNCTION_ATTRIBUTE ;
1650
1630
WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexed (WGPURenderPassEncoder renderPassEncoder , uint32_t indexCount , uint32_t instanceCount , uint32_t firstIndex , int32_t baseVertex , uint32_t firstInstance ) WGPU_FUNCTION_ATTRIBUTE ;
1651
1631
WGPU_EXPORT void wgpuRenderPassEncoderDrawIndexedIndirect (WGPURenderPassEncoder renderPassEncoder , WGPUBuffer indirectBuffer , uint64_t indirectOffset ) WGPU_FUNCTION_ATTRIBUTE ;
1652
1632
WGPU_EXPORT void wgpuRenderPassEncoderDrawIndirect (WGPURenderPassEncoder renderPassEncoder , WGPUBuffer indirectBuffer , uint64_t indirectOffset ) WGPU_FUNCTION_ATTRIBUTE ;
1653
1633
WGPU_EXPORT void wgpuRenderPassEncoderEnd (WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1654
1634
WGPU_EXPORT void wgpuRenderPassEncoderEndOcclusionQuery (WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1655
- WGPU_EXPORT void wgpuRenderPassEncoderEndPipelineStatisticsQuery (WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
1656
1635
WGPU_EXPORT void wgpuRenderPassEncoderExecuteBundles (WGPURenderPassEncoder renderPassEncoder , size_t bundleCount , WGPURenderBundle const * bundles ) WGPU_FUNCTION_ATTRIBUTE ;
1657
1636
WGPU_EXPORT void wgpuRenderPassEncoderInsertDebugMarker (WGPURenderPassEncoder renderPassEncoder , char const * markerLabel ) WGPU_FUNCTION_ATTRIBUTE ;
1658
1637
WGPU_EXPORT void wgpuRenderPassEncoderPopDebugGroup (WGPURenderPassEncoder renderPassEncoder ) WGPU_FUNCTION_ATTRIBUTE ;
0 commit comments