mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:10:52 +01:00
[PR #236] d3d12_com_test: test invalid ClearDepthStencilView flags instead of depth 2.0f #288
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#288
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/236
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9969📝 Commits (1)
cd1d083d3d12_com_test: test invalid ClearDepthStencilView flags instead of depth 2.0f📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
runtime/test/d3d12_com_test.cpp(+3 -2)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):What and why
On \main\ (\
2d53a8055), \d3d12_com\ fails at line 345:\\
line 345: list->Close() == E_INVALIDARG
\\
Commit \
3ce953ae8\ updated \CommandList::clear_depth_stencil\ so depth values outside [0, 1]\ (such as \1.5f, -0.5f, \2.0f) are accepted to match D3D12/WARP, and updated \d3d12_clear_test, \command_list_test, and \d3d12_close_parity_test, but left \d3d12_com_test.cpp:345\ expecting \ClearDepthStencilView(..., 2.0f)\ to fail \Close()\ with \E_INVALIDARG.This updates the check to pass an invalid \D3D12_CLEAR_FLAGS\ bit (\
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.