Skip to content

Commit

Permalink
Merge pull request #78 from munrocket/main
Browse files Browse the repository at this point in the history
add f16
  • Loading branch information
davidar authored May 19, 2024
2 parents 3d0eb9c + 2446529 commit 5838706
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions public/grammars/wgsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,18 +266,11 @@ export const wgslLanguageDef = <languages.IMonarchLanguage>{
'mat2x4f',
'mat2x3f',
'mat2x2f',
'char',
'bool',
'u8',
'u16',
'u32',
'u64',
'f16',
'f32',
'f64',
'i8',
'i16',
'i32',
'i64',
'function'
],

Expand Down Expand Up @@ -387,6 +380,9 @@ export const wgslLanguageDef = <languages.IMonarchLanguage>{
'textureGather',
'textureGatherCompare',
'textureLoad',
'textureNumLayers',
'textureNumLevels',
'textureNumSamples',
'textureSample',
'textureSampleBias',
'textureSampleCompare',
Expand All @@ -395,9 +391,6 @@ export const wgslLanguageDef = <languages.IMonarchLanguage>{
'textureSampleLevel',
'textureSampleBaseClampToEdge',
'textureStore',
'textureNumLayers',
'textureNumLevels',
'textureNumSamples',

'atomicLoad',
'atomicStore',
Expand All @@ -413,11 +406,17 @@ export const wgslLanguageDef = <languages.IMonarchLanguage>{

'pack4x8snorm',
'pack4x8unorm',
'pack4xI8',
'pack4xU8',
'pack4xI8Clamp',
'pack4xU8Clamp',
'pack2x16snorm',
'pack2x16unorm',
'pack2x16float',
'unpack4x8snorm',
'unpack4x8unorm',
'unpack4xI8',
'unpack4xU8',
'unpack2x16snorm',
'unpack2x16unorm',
'unpack2x16float',
Expand Down

0 comments on commit 5838706

Please sign in to comment.