@@ -187,11 +187,55 @@ typedef enum {
187187} WGPUTextureViewDimension ;
188188
189189typedef enum {
190- WGPUVertexFormat_FloatR32G32B32A32 = 0 ,
191- WGPUVertexFormat_FloatR32G32B32 = 1 ,
192- WGPUVertexFormat_FloatR32G32 = 2 ,
193- WGPUVertexFormat_FloatR32 = 3 ,
194- WGPUVertexFormat_IntR8G8B8A8 = 4 ,
190+ WGPUVertexFormat_Uchar = 0 ,
191+ WGPUVertexFormat_Uchar2 = 1 ,
192+ WGPUVertexFormat_Uchar3 = 2 ,
193+ WGPUVertexFormat_Uchar4 = 3 ,
194+ WGPUVertexFormat_Char = 4 ,
195+ WGPUVertexFormat_Char2 = 5 ,
196+ WGPUVertexFormat_Char3 = 6 ,
197+ WGPUVertexFormat_Char4 = 7 ,
198+ WGPUVertexFormat_UcharNorm = 8 ,
199+ WGPUVertexFormat_Uchar2Norm = 9 ,
200+ WGPUVertexFormat_Uchar3Norm = 10 ,
201+ WGPUVertexFormat_Uchar4Norm = 11 ,
202+ WGPUVertexFormat_Uchar4NormBgra = 12 ,
203+ WGPUVertexFormat_CharNorm = 13 ,
204+ WGPUVertexFormat_Char2Norm = 14 ,
205+ WGPUVertexFormat_Char3Norm = 15 ,
206+ WGPUVertexFormat_Char4Norm = 16 ,
207+ WGPUVertexFormat_Ushort = 17 ,
208+ WGPUVertexFormat_Ushort2 = 18 ,
209+ WGPUVertexFormat_Ushort3 = 19 ,
210+ WGPUVertexFormat_Ushort4 = 20 ,
211+ WGPUVertexFormat_Short = 21 ,
212+ WGPUVertexFormat_Short2 = 22 ,
213+ WGPUVertexFormat_Short3 = 23 ,
214+ WGPUVertexFormat_Short4 = 24 ,
215+ WGPUVertexFormat_UshortNorm = 25 ,
216+ WGPUVertexFormat_Ushort2Norm = 26 ,
217+ WGPUVertexFormat_Ushort3Norm = 27 ,
218+ WGPUVertexFormat_Ushort4Norm = 28 ,
219+ WGPUVertexFormat_ShortNorm = 29 ,
220+ WGPUVertexFormat_Short2Norm = 30 ,
221+ WGPUVertexFormat_Short3Norm = 31 ,
222+ WGPUVertexFormat_Short4Norm = 32 ,
223+ WGPUVertexFormat_Half = 33 ,
224+ WGPUVertexFormat_Half2 = 34 ,
225+ WGPUVertexFormat_Half3 = 35 ,
226+ WGPUVertexFormat_Half4 = 36 ,
227+ WGPUVertexFormat_Float = 37 ,
228+ WGPUVertexFormat_Float2 = 38 ,
229+ WGPUVertexFormat_Float3 = 39 ,
230+ WGPUVertexFormat_Float4 = 40 ,
231+ WGPUVertexFormat_Uint = 41 ,
232+ WGPUVertexFormat_Uint2 = 42 ,
233+ WGPUVertexFormat_Uint3 = 43 ,
234+ WGPUVertexFormat_Uint4 = 44 ,
235+ WGPUVertexFormat_Int = 45 ,
236+ WGPUVertexFormat_Int2 = 46 ,
237+ WGPUVertexFormat_Int3 = 47 ,
238+ WGPUVertexFormat_Int4 = 48 ,
195239} WGPUVertexFormat ;
196240
197241typedef struct WGPUBufferMapAsyncStatus WGPUBufferMapAsyncStatus ;
0 commit comments