Repository navigation
Conversation
… render-to-color-clear store actions
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.
Summary
WMTPixelFormatonClearEncoderData(src/mullion/mullion_context.hpp,src/mullion/mullion_context.cpp) and match attachments across views referencing the same texture subresource (sameTextureSubresource).[0, 1]endpoints (bit-identical between linear and sRGB), while leaving non-endpoint clears separate to preserve linear encoding.store_actionfromWMTStoreActionStoretoWMTStoreActionDontCarewhen immediately followed by a full clear of the same subresource, matching the existing depth/stencil optimization.tests/d3d11/d3d11_clear_coalesce.cpp(registered intests/d3d11/meson.build) covering pixel correctness andMULLION_TRACE_ENCODERSpass counts for all cases.Verification
src/mullion/mullion_context.cppandtests/d3d11/d3d11_clear_coalesce.cppwithx86_64-w64-mingw32-g++ -std=c++20 -Wall -Wextra.