Commit 2e418e2
authored
Tweak buffer_texture_copies:sample_count (#4423)
Previously, the copy size did not span the entire texture, which
violates both the requirement in "validating texture buffer copy"
that the texture not be multisampled, and the requirement in
"validating GPUTexelCopyTextureInfo" that a copy to a multisampled
texture span a complete surface.
This change makes the test more specific to the added requirement for
texture-buffer copies. The other requirement for texture copies is
checked by `validation,encoding,cmds,copyTextureToTexture:multisampled_copy_restrictions`.1 parent adce7fa commit 2e418e2
File tree
1 file changed
+4
-4
lines changed- src/webgpu/api/validation/image_copy
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
328 | 330 | | |
329 | | - | |
| 331 | + | |
330 | 332 | | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
334 | 336 | | |
335 | | - | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
341 | | - | |
342 | | - | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
0 commit comments