gpu: add CompilationMessageType enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
06661ce9e1
commit
8f28b65fed
2 changed files with 6 additions and 7 deletions
|
|
@ -1,12 +1,5 @@
|
||||||
typedef uint32_t WGPUFlags;
|
typedef uint32_t WGPUFlags;
|
||||||
|
|
||||||
typedef enum WGPUCompilationMessageType {
|
|
||||||
WGPUCompilationMessageType_Error = 0x00000000,
|
|
||||||
WGPUCompilationMessageType_Warning = 0x00000001,
|
|
||||||
WGPUCompilationMessageType_Info = 0x00000002,
|
|
||||||
WGPUCompilationMessageType_Force32 = 0x7FFFFFFF
|
|
||||||
} WGPUCompilationMessageType;
|
|
||||||
|
|
||||||
typedef enum WGPUComputePassTimestampLocation {
|
typedef enum WGPUComputePassTimestampLocation {
|
||||||
WGPUComputePassTimestampLocation_Beginning = 0x00000000,
|
WGPUComputePassTimestampLocation_Beginning = 0x00000000,
|
||||||
WGPUComputePassTimestampLocation_End = 0x00000001,
|
WGPUComputePassTimestampLocation_End = 0x00000001,
|
||||||
|
|
|
||||||
|
|
@ -69,3 +69,9 @@ pub const CompilationInfoRequestStatus = enum(u32) {
|
||||||
device_lost = 0x00000002,
|
device_lost = 0x00000002,
|
||||||
unknown = 0x00000003,
|
unknown = 0x00000003,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const CompilationMessageType = enum(u32) {
|
||||||
|
err = 0x00000000,
|
||||||
|
warning = 0x00000001,
|
||||||
|
info = 0x00000002,
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue