Skip to content

Commit

Permalink
[WebGPU] no need to clear destroyed textures
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=273570
<radar://127364747>

Reviewed by Cameron McCormack.

Destroyed textures act like valid objects but no operations
including clearing should occur on them.

* LayoutTests/TestExpectations:
* LayoutTests/fast/webgpu/fuzz-273570-expected.txt: Added.
* LayoutTests/fast/webgpu/fuzz-273570.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::previouslyCleared const):

Canonical link: https://commits.webkit.org/278337@main
  • Loading branch information
mwyrzykowski committed May 3, 2024
1 parent ff9b348 commit a464656
Show file tree
Hide file tree
Showing 4 changed files with 26,682 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LayoutTests/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -2110,6 +2110,8 @@ webkit.org/b/139639 [ Debug ] cssom/non-subpixel-scroll-top-left-values.html [ S
[ Release ] fast/webgpu/fuzz-273323.html [ Pass Failure Timeout ]
[ Debug ] fast/webgpu/fuzz-273573.html [ Skip ]
[ Release ] fast/webgpu/fuzz-273573.html [ Pass Failure Timeout ]
[ Debug ] fast/webgpu/fuzz-273570.html [ Skip ]
[ Release ] fast/webgpu/fuzz-273570.html [ Pass Failure Timeout ]

# Imported W3C HTML/DOM ref tests that are failing.
imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs.html [ ImageOnlyFailure ]
Expand Down
Loading

0 comments on commit a464656

Please sign in to comment.