1// Copyright 2018-2021 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5include::{generated}/meta/{refprefix}VK_EXT_buffer_device_address.txt[] 6 7=== Other Extension Metadata 8 9*Last Modified Date*:: 10 2019-01-06 11*IP Status*:: 12 No known IP claims. 13*Interactions and External Dependencies*:: 14 - This extension requires 15 {spirv}/EXT/SPV_EXT_physical_storage_buffer.html[`SPV_EXT_physical_storage_buffer`] 16*Contributors*:: 17 - Jeff Bolz, NVIDIA 18 - Neil Henning, AMD 19 - Tobias Hector, AMD 20 - Jason Ekstrand, Intel 21 - Baldur Karlsson, Valve 22 23=== Description 24 25This extension allows the application to query a 64-bit buffer device 26address value for a buffer, which can be used to access the buffer memory 27via the code:PhysicalStorageBufferEXT storage class in the 28https://github.com/KhronosGroup/GLSL/blob/master/extensions/ext/GLSL_EXT_buffer_reference.txt[`GL_EXT_buffer_reference`] 29GLSL extension and 30{spirv}/EXT/SPV_EXT_physical_storage_buffer.html[`SPV_EXT_physical_storage_buffer`] 31SPIR-V extension. 32 33It also allows buffer device addresses to be provided by a trace replay 34tool, so that it matches the address used when the trace was captured. 35 36include::{generated}/interfaces/VK_EXT_buffer_device_address.txt[] 37 38=== New SPIR-V Capabilities 39 40 * <<spirvenv-capabilities-table-PhysicalStorageBufferAddresses,code:PhysicalStorageBufferAddressesEXT>> 41 42=== Issues 43 441) Where is VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT 45and VkPhysicalDeviceBufferAddressFeaturesEXT? 46 47*RESOLVED*: They were renamed as 48ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT 49and slink:VkPhysicalDeviceBufferDeviceAddressFeaturesEXT accordingly for 50consistency. 51Even though, the old names can still be found in the generated header files 52for compatibility. 53 54=== Version History 55 56 * Revision 1, 2018-11-01 (Jeff Bolz) 57 - Internal revisions 58 * Revision 2, 2019-01-06 (Jon Leech) 59 - Minor updates to appendix for publication 60