Add new sample for buffer device address (#1144)

* Started work on buffer device address sample

* Code cleanup

* Added BDA sample to readm

* Added android build files for BDA sample

* Replaces all uniform buffers with references
Comments and code cleanup
This commit is contained in:
Sascha Willems 2024-07-03 22:04:57 +02:00 committed by GitHub
parent c598b1e7ab
commit 8b4ee59033
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 580 additions and 0 deletions

View file

@ -474,6 +474,10 @@ Basic sample showing how to use shader objects that can be used to replace pipel
Shows how to do host image copies, which heavily simplify the host to device image process by fully skipping the staging process.
#### [Buffer device address (VK_KHR_buffer_device_addres)](./examples/bufferdeviceaddress/)<br/>
Demonstrates the use of virtual GPU addresses to directly access buffer data in shader. Instead of e.g. using descriptors to access uniforms, with this extension you simply provide an address to the memory you want to read from in the shader and that address can be arbitrarily changed e.g. via a push constant.
### Misc
#### [Vulkan Gears](examples/gears/)