We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e18ca5a commit 30beef5Copy full SHA for 30beef5
wgpu/wgpu_ext.go
@@ -60,7 +60,19 @@ var (
60
61
func (v VertexFormat) Size() uint64 {
62
switch v {
63
- case VertexFormatUint8x2,
+ case VertexFormatUint8,
64
+ VertexFormatSint8,
65
+ VertexFormatUnorm8,
66
+ VertexFormatSnorm8:
67
+ return 1
68
+
69
+ case
70
+ VertexFormatUint16,
71
+ VertexFormatSint16,
72
+ VertexFormatUnorm16,
73
+ VertexFormatSnorm16,
74
+ VertexFormatFloat16,
75
+ VertexFormatUint8x2,
76
VertexFormatSint8x2,
77
VertexFormatUnorm8x2,
78
VertexFormatSnorm8x2:
0 commit comments