Skip to content

Commit 91beced

Browse files
authored
Add vertex-format snorm10-10-10-2 (#601)
Add vertex-format snorm10-10-10-2 gpuweb/gpuweb#6491
1 parent b5ff182 commit 91beced

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎webgpu.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,7 @@ typedef enum WGPUVertexFormat {
12091209
WGPUVertexFormat_Sint32x4 = 0x00000027,
12101210
WGPUVertexFormat_Unorm10_10_10_2 = 0x00000028,
12111211
WGPUVertexFormat_Unorm8x4BGRA = 0x00000029,
1212+
WGPUVertexFormat_Snorm10_10_10_2 = 0x0000002A,
12121213
WGPUVertexFormat_Force32 = 0x7FFFFFFF
12131214
} WGPUVertexFormat WGPU_ENUM_ATTRIBUTE;
12141215

‎webgpu.json‎

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎webgpu.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,9 @@ enums:
14751475
- name: unorm8x4_B_G_R_A
14761476
doc: |
14771477
TODO
1478+
- name: snorm10__10__10__2
1479+
doc: |
1480+
TODO
14781481
- name: vertex_step_mode
14791482
doc: |
14801483
TODO

0 commit comments

Comments
 (0)