Repository navigation
gpu: the depth bounds test works (fxceless c96b4f2, depth-bounds part) - #15
Merged
Merged
Conversation
A pipeline that enables the depth bounds test is made from a stream with a DEPTH_STENCIL1 subobject under its own library name (the plain description has nowhere for the flag, and was silently dropping it: such draws passed at every depth), and the title's OMSetDepthBounds - command list method 0x220, until now an ignored-state stub - reaches the host list on hosts that support the test. On the fxceless test machine the first room is lit by its lamp for the first time: walls, table, bunks. Adapted to this tree: no per-state replay tracking (lists are not cut at memory waits the way theirs are), matching how stencil_ref already forwards here. Mesh pipelines emit the depth subobject of either kind through a stream generic in it. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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
Ports the depth-bounds part of fxceless
c96b4f2(itself upstream PR #82 by Kaivyyy): the depth bounds test now works. Before, a pipeline enabling it had the flag silently dropped — its draws passed at every depth — and the title'sOMSetDepthBoundshit an ignored-state stub. On the fxceless test machine (RTX 4070) the first room is lit by its lamp for the first time: walls, table, bunks.GraphicsStatekeeps adepth_boundsflag parsed fromDEPTH_STENCIL1streams;describe()carries it, so such pipelines get their own library names.D3D12_GRAPHICS_PIPELINE_STATE_DESChas nowhere for the flag, so a pipeline that enables the test is made from a subobject stream withDEPTH_STENCIL1(graphics_depth_bounds_pipeline, generic over GS presence); mesh pipelines emit either depth subobject kind through a now-generic stream.0x220is wired tostate::depth_bounds→draw::depth_bounds→OMSetDepthBoundsonID3D12GraphicsCommandList1, gated on the host'sD3D12_OPTIONS2.DepthBoundsTestSupported(logged once). A pipeline enabling the test on a host without support warns and falls back as before.Adaptations to this tree
stencil_refhere.c96b4f2: the perf defaults (copy-back thread, wide copy-back, card copy sizing — coupled to their copy-back architecture), the bake-time texture pre-uploads and placed-texture keying (coupled to their texture placement).Local: clippy
-D warningsclean, victory-gpu 124/124.Link to Devin session: https://app.devin.ai/sessions/39a24dfe2c184165b42b2108a96286b6
Open in Devin Desktop: https://app.devin.ai/desktop/session/39a24dfe2c184165b42b2108a96286b6?variant=devin
Requested by: @Personed