@@ -127,11 +127,54 @@ typedef enum {
127127} WGPUTextureDimension ;
128128
129129typedef enum {
130- WGPUTextureFormat_R8g8b8a8Unorm = 0 ,
131- WGPUTextureFormat_R8g8b8a8Uint = 1 ,
132- WGPUTextureFormat_B8g8r8a8Unorm = 2 ,
133- WGPUTextureFormat_D32Float = 3 ,
134- WGPUTextureFormat_D32FloatS8Uint = 4 ,
130+ WGPUTextureFormat_R8Unorm = 0 ,
131+ WGPUTextureFormat_R8UnormSrgb = 1 ,
132+ WGPUTextureFormat_R8Snorm = 2 ,
133+ WGPUTextureFormat_R8Uint = 3 ,
134+ WGPUTextureFormat_R8Sint = 4 ,
135+ WGPUTextureFormat_R16Unorm = 5 ,
136+ WGPUTextureFormat_R16Snorm = 6 ,
137+ WGPUTextureFormat_R16Uint = 7 ,
138+ WGPUTextureFormat_R16Sint = 8 ,
139+ WGPUTextureFormat_R16Float = 9 ,
140+ WGPUTextureFormat_Rg8Unorm = 10 ,
141+ WGPUTextureFormat_Rg8UnormSrgb = 11 ,
142+ WGPUTextureFormat_Rg8Snorm = 12 ,
143+ WGPUTextureFormat_Rg8Uint = 13 ,
144+ WGPUTextureFormat_Rg8Sint = 14 ,
145+ WGPUTextureFormat_B5g6r5Unorm = 15 ,
146+ WGPUTextureFormat_R32Uint = 16 ,
147+ WGPUTextureFormat_R32Sint = 17 ,
148+ WGPUTextureFormat_R32Float = 18 ,
149+ WGPUTextureFormat_Rg16Unorm = 19 ,
150+ WGPUTextureFormat_Rg16Snorm = 20 ,
151+ WGPUTextureFormat_Rg16Uint = 21 ,
152+ WGPUTextureFormat_Rg16Sint = 22 ,
153+ WGPUTextureFormat_Rg16Float = 23 ,
154+ WGPUTextureFormat_Rgba8Unorm = 24 ,
155+ WGPUTextureFormat_Rgba8UnormSrgb = 25 ,
156+ WGPUTextureFormat_Rgba8Snorm = 26 ,
157+ WGPUTextureFormat_Rgba8Uint = 27 ,
158+ WGPUTextureFormat_Rgba8Sint = 28 ,
159+ WGPUTextureFormat_Bgra8Unorm = 29 ,
160+ WGPUTextureFormat_Bgra8UnormSrgb = 30 ,
161+ WGPUTextureFormat_Rgb10a2Unorm = 31 ,
162+ WGPUTextureFormat_Rg11b10Float = 32 ,
163+ WGPUTextureFormat_Rg32Uint = 33 ,
164+ WGPUTextureFormat_Rg32Sint = 34 ,
165+ WGPUTextureFormat_Rg32Float = 35 ,
166+ WGPUTextureFormat_Rgba16Unorm = 36 ,
167+ WGPUTextureFormat_Rgba16Snorm = 37 ,
168+ WGPUTextureFormat_Rgba16Uint = 38 ,
169+ WGPUTextureFormat_Rgba16Sint = 39 ,
170+ WGPUTextureFormat_Rgba16Float = 40 ,
171+ WGPUTextureFormat_Rgba32Uint = 41 ,
172+ WGPUTextureFormat_Rgba32Sint = 42 ,
173+ WGPUTextureFormat_Rgba32Float = 43 ,
174+ WGPUTextureFormat_D16Unorm = 44 ,
175+ WGPUTextureFormat_D32Float = 45 ,
176+ WGPUTextureFormat_D24UnormS8Uint = 46 ,
177+ WGPUTextureFormat_D32FloatS8Uint = 47 ,
135178} WGPUTextureFormat ;
136179
137180typedef enum {
0 commit comments