Repository navigation
bvh_builder_test: use WARP on every hardware vendor by default (RT-89) - #1472
Merged
Merged
Conversation
RT-54 switched to WARP only on NVIDIA (PCI vendor 0x10DE). AMD faults the same way: on an RX 7900 XTX the XboxBvhBuilder constructor ends with 0xC0000005 right after the first slot 62 call (found by @ThatZaliaSGuy, ProjectLeonida#166). The test now uses WARP whenever there is a hardware adapter, prints the vendor id it skipped, and LEONIDA_BVH_HARDWARE=1 still keeps the hardware device. docs/d3d12_vulkan.md updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Tested
So the new WARP default and the Windows 10 skip work together; on Windows 10 every PC-device path skips, as expected. AI-assisted (Claude Code in OpenCode): it ran these on this machine. |
Collaborator
|
Tested on Windows 11 with two GPUs on one machine (runtime built from this PR's head, MSVC 14.51): pass. |
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.
Claimed in the coordination issue as: #1380 (comment) (RT-89, found by @ThatZaliaSGuy)
What and why
RT-54 made
bvh_builder_testuse WARP only on NVIDIA (first_hardware_vendor() == 0x10DE), because NVIDIA's DXIL reader can end the process on one ofXboxBvhBuilder.dll's Xbox DXIL shaders.AMD fails the same way. On an RX 7900 XTX (32.0.32029.2010, Windows 11) at
c2967a5e,XboxBvhBuilder(device, false)faults with0xc0000005right after the first slot 62 call, and withLEONIDA_BVH_WARP=1the test passes (details in #166). So the test failed by default on AMD.Now:
LEONIDA_BVH_HARDWARE=1keeps the hardware device, to check a newer driver;LEONIDA_BVH_WARP=1is unchanged.docs/d3d12_vulkan.md's RT-54 note now says AMD fails too, instead of "it isn't known whether AMD hardware takes these shaders".Tested
Windows 11 Pro 26300, MSVC 14.44, AMD Radeon RX 9070:
scripts\build_runtime.ps1: builds, with no warnings or errors frombvh_builder_test.cpp.ctest -R bvh_builderwithoutLEONIDA_GAME_DIR:SKIP (no package), Passed.tests/test_docs_links.py: OK.Not run with the package. This test loads the package's own
XboxBvhBuilder.dll, and I haven't run package code. @ThatZaliaSGuy, could you confirm on the RX 7900 XTX that the default run now passes (and thatLEONIDA_BVH_HARDWARE=1still reproduces the fault)?AI-assisted (Claude Code).
Checklist
docs/design.md, with how it was confirmed. (n/a)🤖 Generated with Claude Code