Added mark_externally_initialized to texture - #10075
Open
R-Cramer4 wants to merge 1 commit into
Open
Conversation
8 tasks
R-Cramer4
force-pushed
the
external-initialization
branch
3 times, most recently
from
August 14, 2026 16:42
29717e6 to
35253f5
Compare
R-Cramer4
force-pushed
the
external-initialization
branch
from
August 14, 2026 17:16
35253f5 to
4ce560a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Connections
PR for #10009
Description
With #9361, textures are forced to be cleared when they aren't written to. An issue occurs when a texture was written to externally and not through wgpu. This results in a clear always being applied. Creating a texture with
create_texture_from_halworks, but the problem is with textures from surfaces.Testing
A test was added to test the new function.
Squash or Rebase?
Squash
Checklist
wgpumay be affected behaviorally.CHANGELOG.mdentries for the user-facing effects of this change are present.