gpu: add ComputePassTimestampLocation enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8f28b65fed
commit
b0682df01b
2 changed files with 5 additions and 6 deletions
|
|
@ -1,11 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUComputePassTimestampLocation {
|
||||
WGPUComputePassTimestampLocation_Beginning = 0x00000000,
|
||||
WGPUComputePassTimestampLocation_End = 0x00000001,
|
||||
WGPUComputePassTimestampLocation_Force32 = 0x7FFFFFFF
|
||||
} WGPUComputePassTimestampLocation;
|
||||
|
||||
typedef enum WGPUCreatePipelineAsyncStatus {
|
||||
WGPUCreatePipelineAsyncStatus_Success = 0x00000000,
|
||||
WGPUCreatePipelineAsyncStatus_Error = 0x00000001,
|
||||
|
|
|
|||
|
|
@ -75,3 +75,8 @@ pub const CompilationMessageType = enum(u32) {
|
|||
warning = 0x00000001,
|
||||
info = 0x00000002,
|
||||
};
|
||||
|
||||
pub const ComputePassTimestampLocation = enum(u32) {
|
||||
beginning = 0x00000000,
|
||||
end = 0x00000001,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue