vk: Fixup
- Removes incorrect line writing stencil flags to a regular texture.
This commit is contained in:
@@ -112,8 +112,6 @@ namespace vk
|
|||||||
vkCmdClearDepthStencilImage(cmd, dst->value, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clear, 1, &range);
|
vkCmdClearDepthStencilImage(cmd, dst->value, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clear, 1, &range);
|
||||||
dst->pop_layout(cmd);
|
dst->pop_layout(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
vk::as_rtt(dst)->stencil_init_flags = stencil_init_flags;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user