Moved VulkanBuffer to vks namespce (Refs #260)
This commit is contained in:
parent
f917ea6640
commit
776b6f0106
54 changed files with 165 additions and 165 deletions
|
|
@ -61,8 +61,8 @@ public:
|
|||
|
||||
// Resources for the compute part of the example
|
||||
struct {
|
||||
vk::Buffer storageBuffer; // (Shader) storage buffer object containing the particles
|
||||
vk::Buffer uniformBuffer; // Uniform buffer object containing particle system parameters
|
||||
vks::Buffer storageBuffer; // (Shader) storage buffer object containing the particles
|
||||
vks::Buffer uniformBuffer; // Uniform buffer object containing particle system parameters
|
||||
VkQueue queue; // Separate queue for compute commands (queue family may differ from the one used for graphics)
|
||||
VkCommandPool commandPool; // Use a separate command pool (queue family may differ from the one used for graphics)
|
||||
VkCommandBuffer commandBuffer; // Command buffer storing the dispatch commands and barriers
|
||||
|
|
@ -250,7 +250,7 @@ public:
|
|||
// Staging
|
||||
// SSBO won't be changed on the host after upload so copy to device local memory
|
||||
|
||||
vk::Buffer stagingBuffer;
|
||||
vks::Buffer stagingBuffer;
|
||||
|
||||
vulkanDevice->createBuffer(
|
||||
VK_BUFFER_USAGE_TRANSFER_SRC_BIT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue