mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
fix compile error
This commit is contained in:
@@ -1210,8 +1210,8 @@ static bool computeDispatchBarrierFlags(Shader *shader, VkAccessFlags &dstAccess
|
|||||||
// TODO: this is pretty messy.
|
// TODO: this is pretty messy.
|
||||||
VkAccessFlags texAccessFlags = 0;
|
VkAccessFlags texAccessFlags = 0;
|
||||||
VkPipelineStageFlags texStageFlags = 0;
|
VkPipelineStageFlags texStageFlags = 0;
|
||||||
const PixelFormatInfo &info = getPixelFormatInfo(tex->getPixelFormat());
|
const PixelFormatInfo &formatInfo = getPixelFormatInfo(tex->getPixelFormat());
|
||||||
Vulkan::setImageLayoutTransitionOptions(false, tex->isRenderTarget(), info, VK_IMAGE_LAYOUT_GENERAL, texAccessFlags, texStageFlags);
|
Vulkan::setImageLayoutTransitionOptions(false, tex->isRenderTarget(), formatInfo, VK_IMAGE_LAYOUT_GENERAL, texAccessFlags, texStageFlags);
|
||||||
|
|
||||||
dstAccessFlags |= texAccessFlags;
|
dstAccessFlags |= texAccessFlags;
|
||||||
dstStageFlags |= texStageFlags;
|
dstStageFlags |= texStageFlags;
|
||||||
|
|||||||
Reference in New Issue
Block a user