gpu: add ErrorFilter enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 06:42:13 -07:00 committed by Stephen Gutekanst
parent 27c4b2a548
commit 85e431a956
2 changed files with 5 additions and 6 deletions

View file

@ -1,11 +1,5 @@
typedef uint32_t WGPUFlags;
typedef enum WGPUErrorFilter {
WGPUErrorFilter_Validation = 0x00000000,
WGPUErrorFilter_OutOfMemory = 0x00000001,
WGPUErrorFilter_Force32 = 0x7FFFFFFF
} WGPUErrorFilter;
typedef enum WGPUErrorType {
WGPUErrorType_NoError = 0x00000000,
WGPUErrorType_Validation = 0x00000001,