Skip to content

Commit fc2030c

Browse files
authored
Compat: Disable multisampling tests on integer formats (#4188)
Discussed in gpuweb/gpuweb#5004 Landed in Compat proposal in gpuweb/gpuweb#5053
1 parent cdf2938 commit fc2030c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/webgpu/format_info.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,19 @@ export function isSintOrUintFormat(format: GPUTextureFormat) {
18571857
* Returns true of format can be multisampled.
18581858
*/
18591859
export const kCompatModeUnsupportedMultisampledTextureFormats: readonly GPUTextureFormat[] = [
1860+
'r8uint',
1861+
'r8sint',
1862+
'rg8uint',
1863+
'rg8sint',
1864+
'rgba8uint',
1865+
'rgba8sint',
1866+
'r16uint',
1867+
'r16sint',
1868+
'rg16uint',
1869+
'rg16sint',
1870+
'rgba16uint',
1871+
'rgba16sint',
1872+
'rgb10a2uint',
18601873
'rgba16float',
18611874
'r32float',
18621875
] as const;

0 commit comments

Comments
 (0)