Skip to content

Commit 63b8a7c

Browse files
authored
Fix numbering of CompilationMessageType (#22747)
This fixes the constants in the lookup table to match the header.
1 parent ebcb003 commit 63b8a7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/library_webgpu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ var LibraryWebGPU = {
410410
'mapped': 3,
411411
},
412412
Int_CompilationMessageType : {
413-
'error': 0,
414-
'warning': 1,
415-
'info': 2,
413+
'error': 1,
414+
'warning': 2,
415+
'info': 3,
416416
},
417417
Int_DeviceLostReason: {
418418
'undefined': 1,

0 commit comments

Comments
 (0)