gpu: add PipelineStatisticName enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
18dd84d6a5
commit
806ec0d147
2 changed files with 8 additions and 9 deletions
|
|
@ -1,14 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUPipelineStatisticName {
|
||||
WGPUPipelineStatisticName_VertexShaderInvocations = 0x00000000,
|
||||
WGPUPipelineStatisticName_ClipperInvocations = 0x00000001,
|
||||
WGPUPipelineStatisticName_ClipperPrimitivesOut = 0x00000002,
|
||||
WGPUPipelineStatisticName_FragmentShaderInvocations = 0x00000003,
|
||||
WGPUPipelineStatisticName_ComputeShaderInvocations = 0x00000004,
|
||||
WGPUPipelineStatisticName_Force32 = 0x7FFFFFFF
|
||||
} WGPUPipelineStatisticName;
|
||||
|
||||
typedef enum WGPUPowerPreference {
|
||||
WGPUPowerPreference_Undefined = 0x00000000,
|
||||
WGPUPowerPreference_LowPower = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue