diff --git a/src/xenia/gpu/vulkan/vulkan_command_processor.cc b/src/xenia/gpu/vulkan/vulkan_command_processor.cc index bf28318f1..4d61202e4 100644 --- a/src/xenia/gpu/vulkan/vulkan_command_processor.cc +++ b/src/xenia/gpu/vulkan/vulkan_command_processor.cc @@ -877,8 +877,8 @@ bool VulkanCommandProcessor::IssueCopy() { // Render targets 0-3, 4 = depth uint32_t copy_src_select = copy_regs->copy_control.copy_src_select; - bool color_clear_enabled = static_cast(copy_regs->copy_control.color_clear_enable); - bool depth_clear_enabled = static_cast(copy_regs->copy_control.depth_clear_enable); + bool color_clear_enabled = copy_regs->copy_control.color_clear_enable != 0; + bool depth_clear_enabled = copy_regs->copy_control.depth_clear_enable != 0; CopyCommand copy_command = copy_regs->copy_control.copy_command; assert_true(copy_regs->copy_dest_info.copy_dest_array == 0); @@ -1164,7 +1164,7 @@ bool VulkanCommandProcessor::IssueCopy() { {{0, 0}, {resolve_extent.width, resolve_extent.height}}, view->GetSize(), texture->format, resolve_offset, resolve_extent, texture->framebuffer, filter, is_color_source, - static_cast(copy_regs->copy_dest_info.copy_dest_swap)); + copy_regs->copy_dest_info.copy_dest_swap != 0); // Pull the tile view back to a color attachment. std::swap(image_barrier.srcAccessMask, image_barrier.dstAccessMask);