GPU: Cast various flags to bool in IssueCopy. Fixes #773.
This commit is contained in:
parent
4a95862023
commit
19627a6cb2
|
@ -1164,7 +1164,7 @@ bool VulkanCommandProcessor::IssueCopy() {
|
||||||
{{0, 0}, {resolve_extent.width, resolve_extent.height}},
|
{{0, 0}, {resolve_extent.width, resolve_extent.height}},
|
||||||
view->GetSize(), texture->format, resolve_offset, resolve_extent,
|
view->GetSize(), texture->format, resolve_offset, resolve_extent,
|
||||||
texture->framebuffer, filter, is_color_source,
|
texture->framebuffer, filter, is_color_source,
|
||||||
copy_regs->copy_dest_info.copy_dest_swap);
|
static_cast<bool>(copy_regs->copy_dest_info.copy_dest_swap));
|
||||||
|
|
||||||
// Pull the tile view back to a color attachment.
|
// Pull the tile view back to a color attachment.
|
||||||
std::swap(image_barrier.srcAccessMask, image_barrier.dstAccessMask);
|
std::swap(image_barrier.srcAccessMask, image_barrier.dstAccessMask);
|
||||||
|
|
Loading…
Reference in New Issue