KhronosGroup / Vulkan-ValidationLayers

Vulkan Validation Layers (VVL)
https://vulkan.lunarg.com/doc/sdk/latest/linux/khronos_validation_layer.html
Other
727 stars 396 forks source link

tests: Improve Device Address Buffer creation #8218

Closed spencer-lunarg closed 4 days ago

spencer-lunarg commented 6 days ago

We have many spots we need to create a VkBuffer with VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT (and the memory with VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT) in order to get the VkDeviceAddress

This reduces this common code to a single line to make it easier to create them

ci-tester-lunarg commented 6 days ago

CI Vulkan-ValidationLayers build queued with queue ID 208757.

ci-tester-lunarg commented 6 days ago

CI Vulkan-ValidationLayers build # 16964 running.

ci-tester-lunarg commented 6 days ago

CI Vulkan-ValidationLayers build queued with queue ID 208801.

ci-tester-lunarg commented 6 days ago

CI Vulkan-ValidationLayers build # 16966 running.

ci-tester-lunarg commented 6 days ago

CI Vulkan-ValidationLayers build # 16966 passed.