Take three?
This commit is contained in:
parent
3aa5a70827
commit
355d9f6c62
|
@ -877,8 +877,8 @@ bool VulkanCommandProcessor::IssueCopy() {
|
||||||
|
|
||||||
// Render targets 0-3, 4 = depth
|
// Render targets 0-3, 4 = depth
|
||||||
uint32_t copy_src_select = copy_regs->copy_control.copy_src_select;
|
uint32_t copy_src_select = copy_regs->copy_control.copy_src_select;
|
||||||
bool color_clear_enabled = static_cast<bool>(copy_regs->copy_control.color_clear_enable);
|
bool color_clear_enabled = copy_regs->copy_control.color_clear_enable != 0;
|
||||||
bool depth_clear_enabled = static_cast<bool>(copy_regs->copy_control.depth_clear_enable);
|
bool depth_clear_enabled = copy_regs->copy_control.depth_clear_enable != 0;
|
||||||
CopyCommand copy_command = copy_regs->copy_control.copy_command;
|
CopyCommand copy_command = copy_regs->copy_control.copy_command;
|
||||||
|
|
||||||
assert_true(copy_regs->copy_dest_info.copy_dest_array == 0);
|
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}},
|
{{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,
|
||||||
static_cast<bool>(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.
|
// 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