Skip to content

Commit

Permalink
actually link to vulkan spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Feb 6, 2025
1 parent ed712cb commit 0585918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wgpu-hal/src/vulkan/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2368,6 +2368,7 @@ impl crate::Device for super::Device {
.vertex_stride(triangles.vertex_stride)
// The vulkan spec says that we can send garbage addresses into this, as the driver
// should only check if it is null.
// from https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html
// > The srcAccelerationStructure, dstAccelerationStructure, and mode members
// > of pBuildInfo are ignored. Any VkDeviceOrHostAddressKHR or VkDeviceOrHostAddressConstKHR
// > members of pBuildInfo are ignored by this command, except that the hostAddress
Expand Down

0 comments on commit 0585918

Please sign in to comment.