RHI: normalize cross-backend capability reporting and add parity coverage#441
Merged
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
❌ CI Error ReportFailed jobs: windows-vs2022-Release Test Failures
Updated: 2026-04-09T19:42:16Z — this comment is updated in-place, not duplicated. |
Contributor
Code Coverage (GCC + lcov)Per-Subsystem Coverage
Total: 50.9% (18247/35883 lines) |
Contributor
Code Coverage (GCC + lcov)Per-Subsystem Coverage
Total: 50.9% (18258/35883 lines) |
Contributor
Code Coverage (GCC + lcov)Per-Subsystem Coverage
Total: 50.9% (18258/35883 lines) |
Contributor
Code Coverage (GCC + lcov)Per-Subsystem Coverage
Total: 50.9% (18258/35883 lines) |
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.
Motivation
Description
FinalizeDeviceCapabilities(RHIDeviceCapabilities&)inGraphics/RHI/RHITypes.hto sync legacy RT booleans with detailedRTCapabilities, clear incoherent fields, and clamp minimum capability values.FinalizeDeviceCapabilitiesfrom each backend initialization path:D3D11,D3D12,Vulkan,OpenGL(after capability query), andNullRHIDevice(onInitialize) so all backends report normalized capabilities.llvmpipe/softpipe), settingisSoftwareDevice, and mapping GL compute-based fallbacks toRayTracingBackend::Software_SDFGIwhen appropriate.Tests/TestRHICapabilityParity.cppwhich verifies RT flag syncing, incoherent RT field cleanup, VRS consistency, and clamping of minimum capability values.Testing
clang-format -ion modified files successfully.cmake --preset linux-gcc-releasewhich completed successfully and generated build files.cmake --build build/linux-gcc-release --config Release -j4; the full tree build was large and the build run in-session did not complete to finish all targets.Tests/TestRHICapabilityParity.cpp(not executed withctestin-session due to the incomplete full build).Codex Task