Skip to content

Implement support for depth bounds testing.#189

Merged
crud89 merged 2 commits intomainfrom
dev/depth-bounds-testing
Oct 20, 2025
Merged

Implement support for depth bounds testing.#189
crud89 merged 2 commits intomainfrom
dev/depth-bounds-testing

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented Oct 19, 2025

Describe the pull request

This PR implements support for depth bounds testing. It requires the new GraphicsDeviceFeature::DepthBoundsTest to be enabled. If supported, a render or mesh shading pipeline can be created with the depth bounds test enabled. This is done by setting the DepthStencilState::DepthState::DepthBoundsTestEnable setting in the rasterizer state. If a currently bound pipeline has been initialized this way, it is possible to set the minimum and maximum depth bounds on a command buffer by calling ICommandBuffer::setDepthBounds.

Related issues

Resolves #35.

@crud89 crud89 added this to the Alpha #05 milestone Oct 19, 2025
@crud89 crud89 self-assigned this Oct 19, 2025
@crud89 crud89 added Vulkan πŸŒ‹ The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels Oct 19, 2025
@crud89 crud89 added this to LiteFX Oct 19, 2025
@crud89 crud89 moved this to In Progress in LiteFX Oct 19, 2025
@crud89
Copy link
Copy Markdown
Owner Author

crud89 commented Oct 19, 2025

Run: checks

@crud89
Copy link
Copy Markdown
Owner Author

crud89 commented Oct 20, 2025

Run: tests

@crud89 crud89 merged commit b2ab3e3 into main Oct 20, 2025
9 checks passed
@crud89 crud89 deleted the dev/depth-bounds-testing branch October 20, 2025 07:03
@crud89 crud89 moved this from In Progress to v0.5.1 in LiteFX Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX12 ❎ The issue involves the DX12 backend. Vulkan πŸŒ‹ The issue involves the Vulkan backend.

Projects

Status: v0.5.1

Development

Successfully merging this pull request may close these issues.

Implement depth bounds testing.

1 participant