Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan validation error on debug build? #17

Open
yhyu13 opened this issue Oct 28, 2023 · 2 comments
Open

Vulkan validation error on debug build? #17

yhyu13 opened this issue Oct 28, 2023 · 2 comments

Comments

@yhyu13
Copy link

yhyu13 commented Oct 28, 2023

Hi,

I am having the following error on when launching the released app

[ 01:19:12 | ERROR   ] : Vulkan - Validation : Validation Error: [ VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-03710 ] Object 0: handle = 0x2651808f510, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x63ff8904 | vkCmdBuildAccelerationStructuresKHR:For each element of pInfos, its scratchData.deviceAddress member must be a multiple of VkPhysicalDeviceAccelerationStructurePropertiesKHR::minAccelerationStructureScratchOffsetAlignment. The Vulkan spec states: For each element of pInfos, its scratchData.deviceAddress member must be a multiple of VkPhysicalDeviceAccelerationStructurePropertiesKHR::minAccelerationStructureScratchOffsetAlignment (https://vulkan.lunarg.com/doc/view/1.3.216.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-03710) , FILE : vk.cpp , LINE : 156

Vulkan sdk version 1.3.216.0
Win10
AMD 6900xt

@diharaw
Copy link
Owner

diharaw commented Oct 28, 2023

Hi, the sample doesn't run on AMD GPUs as I didn't have access to one back when I developed it. There might be more validation errors now because of newer Vulkan SDKs.

Unfortunately I do not have time to work on this sample any longer. Feel free to send me a PR if you manage to fix the issue.

@yhyu13
Copy link
Author

yhyu13 commented Oct 30, 2023

Sure thing, will try

What was the Vulkan SDK version at the time your were developing this program, if you still have that in mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants