Skip to content

Commit acb6f46

Browse files
authored
add rgb10a2uint texture format
1 parent 79fe4ad commit acb6f46

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

spec/index.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4861,6 +4861,7 @@ enum GPUTextureFormat {
48614861
"bgra8unorm-srgb",
48624862
// Packed 32-bit formats
48634863
"rgb9e5ufloat",
4864+
"rgb10a2uint",
48644865
"rgb10a2unorm",
48654866
"rg11b10ufloat",
48664867

@@ -15647,6 +15648,16 @@ The [=texel block memory cost=] of each of these formats is the same as its
1564715648
<td>&checkmark;
1564815649
<td colspan=2>16
1564915650
<tr><th colspan=9>mixed component width, 32 bits per texel (4-byte [=render target component alignment=])
15651+
<tr>
15652+
<td>{{GPUTextureFormat/rgb10a2uint}}
15653+
<td>{{GPUTextureSampleType/"uint"}}
15654+
<td>&checkmark;
15655+
<td>
15656+
<td>&checkmark;
15657+
<td>
15658+
<td>
15659+
<td>4
15660+
<td>8
1565015661
<tr>
1565115662
<td>{{GPUTextureFormat/rgb10a2unorm}}
1565215663
<td>{{GPUTextureSampleType/"float"}},<br/>{{GPUTextureSampleType/"unfilterable-float"}}

0 commit comments

Comments
 (0)