Repository navigation
gpuav: Skip opacity micromap builds in BLAS validation - #13763
Merged
Merged
Conversation
spencer-lunarg
approved these changes
Nov 23, 2026
danginsburg
force-pushed
the
omm_gpu_av_fix
branch
from
November 23, 2026 16:43
b49fb1d to
009d290
Compare
spencer-lunarg
force-pushed
the
omm_gpu_av_fix
branch
from
November 23, 2026 19:32
009d290 to
db48bfe
Compare
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.
Fixes #13762
valcmd::BLAS dereferences ppBuildRangeInfos[i] for every build info. For VK_ACCELERATION_STRUCTURE_TYPE_OPACITY_MICROMAP_KHR builds that pointer must be NULL (VUID-vkCmdBuildAccelerationStructuresKHR-ppBuildRangeInfos-11544), so GPU-AV crashes. This change skips micromap infos there, the same way valcmd::TLAS already only reads the ranges for top-level builds.
Adds PositiveGpuAVRayTracing.OpacityMicromapBuildKHR, which is PositiveRayTracingMicromap.BasicKHR run with GPU-AV enabled.
Test results:
Before fix:
[ FAILED ] PositiveGpuAVRayTracing.OpacityMicromapBuildKHR (391 ms)
[----------] 1 test from PositiveGpuAVRayTracing (391 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (393 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PositiveGpuAVRayTracing.OpacityMicromapBuildKHR
1 FAILED TEST
After fix:
C:\Users\dang\src\VVL-danginsburg\build\tests\RelWithDebInfo>vk_layer_validation_tests.exe --gtest_filter=PositiveGpuAVRayTracing.OpacityMicromapBuildKHR
Note: Google Test filter = PositiveGpuAVRayTracing.OpacityMicromapBuildKHR
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from PositiveGpuAVRayTracing
[ RUN ] PositiveGpuAVRayTracing.OpacityMicromapBuildKHR
[ OK ] PositiveGpuAVRayTracing.OpacityMicromapBuildKHR (339 ms)
[----------] 1 test from PositiveGpuAVRayTracing (340 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (342 ms total)
[ PASSED ] 1 test.