Repository navigation
Test position interpolation for both conservative depth outputs - #2
Open
MichaelSmithAI wants to merge 1 commit into
Conversation
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.
This test exercises the position interpolation rule changed in upstream #565. The original PR reports 14 additional title pixel shaders passing validation, including
PS_OctaSLODReZ.The fixture runs at pixel frequency. Its original three-dword pixel shader writes position Z to depth and has no sample-index input. The fixture runs it through the production emitter with each of the three depth output signatures and reads the position input back from the emitted DXIL pipeline validation data (PSV0).
On the parent revision the less-equal case emits 4 and the assertion fails. At c249f02 all 57 Linux shader library tests pass with the regression. Microsoft DXIL validation also accepted the three synthetic outputs during development. The checked-in test runs without a GPU, shader SDK or title files:
This is a test-only change. The title validation count is from the original author. Rendering impact remains unmeasured. AI assistance was used to develop and verify the fixture.