1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-15 07:29:17 +01:00

[dxvk] Rearrange DxvkBufferCreateInfo

This commit is contained in:
Philip Rebohle 2024-11-02 09:48:03 +01:00 committed by Philip Rebohle
parent bd6b7aedc1
commit 43e636cf42

View File

@ -20,21 +20,21 @@ namespace dxvk {
* passed to \ref DxvkDevice::createBuffer * passed to \ref DxvkDevice::createBuffer
*/ */
struct DxvkBufferCreateInfo { struct DxvkBufferCreateInfo {
/// Buffer create flags
VkBufferCreateFlags flags = 0;
/// Size of the buffer, in bytes /// Size of the buffer, in bytes
VkDeviceSize size; VkDeviceSize size = 0u;
/// Buffer usage flags /// Buffer usage flags
VkBufferUsageFlags usage; VkBufferUsageFlags usage = 0u;
/// Pipeline stages that can access /// Pipeline stages that can access
/// the contents of the buffer. /// the contents of the buffer.
VkPipelineStageFlags stages; VkPipelineStageFlags stages = 0u;
/// Allowed access patterns /// Allowed access patterns
VkAccessFlags access; VkAccessFlags access = 0u;
/// Buffer create flags
VkBufferCreateFlags flags = 0;
}; };