From 538025232e713963851f56909bf3163a17288dc5 Mon Sep 17 00:00:00 2001 From: Geoff Lang Date: Tue, 18 Feb 2025 13:39:29 -0500 Subject: [PATCH] Compat: Disable multisampling tests on integer formats Discussed in https://github.com/gpuweb/gpuweb/issues/5004 Landed in Compat proposal in https://github.com/gpuweb/gpuweb/pull/5053 --- src/webgpu/format_info.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/webgpu/format_info.ts b/src/webgpu/format_info.ts index d582a2005b4..0a5802762b1 100644 --- a/src/webgpu/format_info.ts +++ b/src/webgpu/format_info.ts @@ -1857,6 +1857,19 @@ export function isSintOrUintFormat(format: GPUTextureFormat) { * Returns true of format can be multisampled. */ export const kCompatModeUnsupportedMultisampledTextureFormats: readonly GPUTextureFormat[] = [ + `r8uint`, + `r8sint`, + `rg8uint`, + `rg8sint`, + `rgba8uint`, + `rgba8sint`, + `r16uint`, + `r16sint`, + `rg16uint`, + `rg16sint`, + `rgba16uint`, + `rgba16sint`, + `rgb10a2uint`, 'rgba16float', 'r32float', ] as const;