another barrier revert
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3741a95cb3
commit
e9e9e37d15
|
@ -7818,13 +7818,6 @@ static void VULKAN_BindVertexBuffers(
|
||||||
{
|
{
|
||||||
currentVulkanBuffer = (VulkanBuffer*) pBuffers[i];
|
currentVulkanBuffer = (VulkanBuffer*) pBuffers[i];
|
||||||
buffers[i] = currentVulkanBuffer->buffer;
|
buffers[i] = currentVulkanBuffer->buffer;
|
||||||
|
|
||||||
VULKAN_INTERNAL_BufferMemoryBarrier(
|
|
||||||
renderer,
|
|
||||||
vulkanCommandBuffer->commandBuffer,
|
|
||||||
RESOURCE_ACCESS_VERTEX_BUFFER,
|
|
||||||
currentVulkanBuffer
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
renderer->vkCmdBindVertexBuffers(
|
renderer->vkCmdBindVertexBuffers(
|
||||||
|
@ -7849,13 +7842,6 @@ static void VULKAN_BindIndexBuffer(
|
||||||
VulkanCommandBuffer *vulkanCommandBuffer = (VulkanCommandBuffer*) commandBuffer;
|
VulkanCommandBuffer *vulkanCommandBuffer = (VulkanCommandBuffer*) commandBuffer;
|
||||||
VulkanBuffer* vulkanBuffer = (VulkanBuffer*) buffer;
|
VulkanBuffer* vulkanBuffer = (VulkanBuffer*) buffer;
|
||||||
|
|
||||||
VULKAN_INTERNAL_BufferMemoryBarrier(
|
|
||||||
renderer,
|
|
||||||
vulkanCommandBuffer->commandBuffer,
|
|
||||||
RESOURCE_ACCESS_INDEX_BUFFER,
|
|
||||||
vulkanBuffer
|
|
||||||
);
|
|
||||||
|
|
||||||
renderer->vkCmdBindIndexBuffer(
|
renderer->vkCmdBindIndexBuffer(
|
||||||
vulkanCommandBuffer->commandBuffer,
|
vulkanCommandBuffer->commandBuffer,
|
||||||
vulkanBuffer->buffer,
|
vulkanBuffer->buffer,
|
||||||
|
|
Loading…
Reference in New Issue