shader reflect testing

This commit is contained in:
2026-10-22 07:12:25 +00:00
parent 09a6c0283a
commit 2f5268fef6
4 changed files with 126 additions and 6 deletions
+4
View File
@@ -48,6 +48,10 @@ class Buffer {
}
vk::DeviceSize getBufferSize() const { return bufferSize; }
vk::DeviceAddress getDeviceAddress() {
return this->device.get()->getBufferAddress(this->buffer);
}
private:
static vk::DeviceSize getAlignment(vk::DeviceSize instanceSize,
vk::DeviceSize minOffsetAlignment);