MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Address

Method Address

tests/framework/binding.cpp:1166–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164}
1165
1166VkDeviceAddress Buffer::Address() const {
1167 VkBufferDeviceAddressInfo bdai = vku::InitStructHelper();
1168 bdai.buffer = handle();
1169 if (vk::GetBufferDeviceAddressKHR) {
1170 return vk::GetBufferDeviceAddressKHR(device(), &bdai);
1171 } else {
1172 return vk::GetBufferDeviceAddress(device(), &bdai);
1173 }
1174}
1175
1176VkDeviceAddressRangeEXT Buffer::AddressRange() const {
1177 VkDeviceAddressRangeEXT range;

Callers 15

DescriptorGetInfoMethod · 0.45
CreateMethod · 0.45
SetupBuildMethod · 0.45
GetTraceRaysSbtMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

GetBufferDeviceAddressFunction · 0.85

Tested by

no test coverage detected