mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:50:53 +01:00
[PR #806] d3d12: preserve float DepthBias in RASTERIZER1 and RASTERIZER2 streams #844
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#844
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/806
Author: @kotekompotek
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:work/d3d12-rasterizer-float-depth-bias📝 Commits (1)
ab87f83d3d12: preserve float DepthBias in RASTERIZER1 and RASTERIZER2 streams📊 Changes
5 files changed (+187 additions, -16 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+2 -1)📝
runtime/shims/d3d12_vulkan_device.cpp(+20 -8)📝
runtime/src/depth24_fragment.h(+7 -7)📝
runtime/test/d3d12_bundle_test.cpp(+153 -0)📝
runtime/test/d3d12_d24_support_test.cpp(+5 -0)📄 Description
Claimed in the coordination issue as: D3D-RASTERIZER-FLOAT-BIAS (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140050149)
What and why
main.FLOAT DepthBiasinRASTERIZER1andRASTERIZER2pipeline streams (runtime/shims/d3d12_vulkan_device.cppandruntime/src/depth24_fragment.h).runtime/test/d3d12_bundle_test.cpp(Vertexinput layout order/formats,SubTopologytriangle topology,CullMode = D3D12_CULL_MODE_NONE,64x64DXGI_FORMAT_D24_UNORM_S8_UINTdepth buffer +GREATERdepth test comparing1.5fvs0.0fforRASTERIZER1/RASTERIZER2), addeddepth24_bias_constantunit assertions inruntime/test/d3d12_d24_support_test.cpp, and synceddocs/d3d12_vulkan.md.Tested
d3d12_com_testandd3d12_d24_support_testand rand3d12_com&d3d12_d24_support(2/2 Passedon NVIDIA GeForce GTX 1050).tests/test_ctest_registration.py(4/4 OK).d3d12_bundle_testwas not compiled locally becauseglslangValidatoris absent in this environment.GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.