Skip to content

Commit

Permalink
Compat: Disable multisampling tests on integer formats
Browse files Browse the repository at this point in the history
Discussed in gpuweb/gpuweb#5004
Landed in Compat proposal in gpuweb/gpuweb#5053
  • Loading branch information
vonture committed Feb 18, 2025
1 parent a71a20e commit 5380252
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/webgpu/format_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5380252

Please sign in to comment.