forked from MoonsideGames/Refresh
change render pass barriers to read-write
parent
0989e45f88
commit
1b3e954da8
|
@ -8839,7 +8839,7 @@ static void VULKAN_BeginRenderPass(
|
||||||
VULKAN_INTERNAL_ImageMemoryBarrier(
|
VULKAN_INTERNAL_ImageMemoryBarrier(
|
||||||
renderer,
|
renderer,
|
||||||
vulkanCommandBuffer->commandBuffer,
|
vulkanCommandBuffer->commandBuffer,
|
||||||
RESOURCE_ACCESS_COLOR_ATTACHMENT_WRITE,
|
RESOURCE_ACCESS_COLOR_ATTACHMENT_READ_WRITE,
|
||||||
VK_IMAGE_ASPECT_COLOR_BIT,
|
VK_IMAGE_ASPECT_COLOR_BIT,
|
||||||
0,
|
0,
|
||||||
texture->layerCount,
|
texture->layerCount,
|
||||||
|
@ -8872,7 +8872,7 @@ static void VULKAN_BeginRenderPass(
|
||||||
VULKAN_INTERNAL_ImageMemoryBarrier(
|
VULKAN_INTERNAL_ImageMemoryBarrier(
|
||||||
renderer,
|
renderer,
|
||||||
vulkanCommandBuffer->commandBuffer,
|
vulkanCommandBuffer->commandBuffer,
|
||||||
RESOURCE_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE,
|
RESOURCE_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_WRITE,
|
||||||
depthAspectFlags,
|
depthAspectFlags,
|
||||||
0,
|
0,
|
||||||
texture->layerCount,
|
texture->layerCount,
|
||||||
|
|
Loading…
Reference in New Issue