Skip to content

Commit

Permalink
Fix numbering of CompilationMessageType (#22747)
Browse files Browse the repository at this point in the history
This fixes the constants in the lookup table to match the header.
  • Loading branch information
kainino0x authored Oct 16, 2024
1 parent ebcb003 commit 63b8a7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/library_webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ var LibraryWebGPU = {
'mapped': 3,
},
Int_CompilationMessageType : {
'error': 0,
'warning': 1,
'info': 2,
'error': 1,
'warning': 2,
'info': 3,
},
Int_DeviceLostReason: {
'undefined': 1,
Expand Down

0 comments on commit 63b8a7c

Please sign in to comment.