From 159d8f6dbac6ec087281ba856dd7a917dea8cdde Mon Sep 17 00:00:00 2001 From: numzero Date: Sat, 28 Sep 2024 00:57:33 +0300 Subject: [PATCH] Split attribute types --- wgsl.xml | 50 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/wgsl.xml b/wgsl.xml index 1b9bc98..9fd5823 100644 --- a/wgsl.xml +++ b/wgsl.xml @@ -63,24 +63,36 @@ array - - @align - @binding - @builtin + @compute @const - @diagnostic @fragment + @invariant + @must_use + @vertex + + + + @align + @binding + @blend_src @group @id - @interpolate - @invariant @location - @blend_src - @must_use @size - @vertex - @workgroup_size + @workgroup_size + + + + @builtin + @diagnostic + @interpolate + + + + simple_attribute + expr_attribute + special_attribute @@ -155,16 +167,19 @@ - + + + - - - - + - + + + + + @@ -180,6 +195,7 @@ +