Fix validation error
Script sync from SHA: 824b4a59d2492ce6e378b25939d8ae79bc9c3ba1
This commit is contained in:
parent
ab14efb76e
commit
c008702d1c
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ void HelloVulkan::updateUniformBuffer(const VkCommandBuffer& cmdBuf)
|
|||
|
||||
// UBO on the device, and what stages access it.
|
||||
VkBuffer deviceUBO = m_bGlobals.buffer;
|
||||
auto uboUsageStages = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT | VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR;
|
||||
auto uboUsageStages = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT;
|
||||
|
||||
// Ensure that the modified UBO is not visible to previous frames.
|
||||
VkBufferMemoryBarrier beforeBarrier{VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue