gpu: add CreatePipelineAsyncStatus enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b0682df01b
commit
6e0c71f121
2 changed files with 8 additions and 9 deletions
|
|
@ -1,14 +1,5 @@
|
||||||
typedef uint32_t WGPUFlags;
|
typedef uint32_t WGPUFlags;
|
||||||
|
|
||||||
typedef enum WGPUCreatePipelineAsyncStatus {
|
|
||||||
WGPUCreatePipelineAsyncStatus_Success = 0x00000000,
|
|
||||||
WGPUCreatePipelineAsyncStatus_Error = 0x00000001,
|
|
||||||
WGPUCreatePipelineAsyncStatus_DeviceLost = 0x00000002,
|
|
||||||
WGPUCreatePipelineAsyncStatus_DeviceDestroyed = 0x00000003,
|
|
||||||
WGPUCreatePipelineAsyncStatus_Unknown = 0x00000004,
|
|
||||||
WGPUCreatePipelineAsyncStatus_Force32 = 0x7FFFFFFF
|
|
||||||
} WGPUCreatePipelineAsyncStatus;
|
|
||||||
|
|
||||||
typedef enum WGPUCullMode {
|
typedef enum WGPUCullMode {
|
||||||
WGPUCullMode_None = 0x00000000,
|
WGPUCullMode_None = 0x00000000,
|
||||||
WGPUCullMode_Front = 0x00000001,
|
WGPUCullMode_Front = 0x00000001,
|
||||||
|
|
|
||||||
|
|
@ -80,3 +80,11 @@ pub const ComputePassTimestampLocation = enum(u32) {
|
||||||
beginning = 0x00000000,
|
beginning = 0x00000000,
|
||||||
end = 0x00000001,
|
end = 0x00000001,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const CreatePipelineAsyncStatus = enum(u32) {
|
||||||
|
success = 0x00000000,
|
||||||
|
err = 0x00000001,
|
||||||
|
device_lost = 0x00000002,
|
||||||
|
device_destroyed = 0x00000003,
|
||||||
|
unknown = 0x00000004,
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue