Add vertex-format snorm10-10-10-2 (#601)
Add vertex-format snorm10-10-10-2
https://github.com/gpuweb/gpuweb/pull/6491
diff --git a/webgpu.h b/webgpu.h
index b5e822b..16a5671 100644
--- a/webgpu.h
+++ b/webgpu.h
@@ -1209,6 +1209,7 @@
WGPUVertexFormat_Sint32x4 = 0x00000027,
WGPUVertexFormat_Unorm10_10_10_2 = 0x00000028,
WGPUVertexFormat_Unorm8x4BGRA = 0x00000029,
+ WGPUVertexFormat_Snorm10_10_10_2 = 0x0000002A,
WGPUVertexFormat_Force32 = 0x7FFFFFFF
} WGPUVertexFormat WGPU_ENUM_ATTRIBUTE;
diff --git a/webgpu.json b/webgpu.json
index 68feb9a..e95fa73 100644
--- a/webgpu.json
+++ b/webgpu.json
@@ -2345,6 +2345,10 @@
{
"doc": "TODO\n",
"name": "unorm8x4_B_G_R_A"
+ },
+ {
+ "doc": "TODO\n",
+ "name": "snorm10__10__10__2"
}
],
"name": "vertex_format"
diff --git a/webgpu.yml b/webgpu.yml
index 3dbb967..5b8ac46 100644
--- a/webgpu.yml
+++ b/webgpu.yml
@@ -1475,6 +1475,9 @@
- name: unorm8x4_B_G_R_A
doc: |
TODO
+ - name: snorm10__10__10__2
+ doc: |
+ TODO
- name: vertex_step_mode
doc: |
TODO