mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-06 04:32:34 -07:00
video_core: Integrate SMAA
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com> Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
This commit is contained in:
@@ -86,6 +86,7 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept {
|
||||
X(vkCmdBindVertexBuffers);
|
||||
X(vkCmdBlitImage);
|
||||
X(vkCmdClearAttachments);
|
||||
X(vkCmdClearColorImage);
|
||||
X(vkCmdCopyBuffer);
|
||||
X(vkCmdCopyBufferToImage);
|
||||
X(vkCmdCopyImage);
|
||||
|
@@ -205,6 +205,7 @@ struct DeviceDispatch : InstanceDispatch {
|
||||
PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT{};
|
||||
PFN_vkCmdBlitImage vkCmdBlitImage{};
|
||||
PFN_vkCmdClearAttachments vkCmdClearAttachments{};
|
||||
PFN_vkCmdClearColorImage vkCmdClearColorImage{};
|
||||
PFN_vkCmdCopyBuffer vkCmdCopyBuffer{};
|
||||
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage{};
|
||||
PFN_vkCmdCopyImage vkCmdCopyImage{};
|
||||
@@ -1024,6 +1025,11 @@ public:
|
||||
rects.data());
|
||||
}
|
||||
|
||||
void ClearColorImage(VkImage image, VkImageLayout layout, VkClearColorValue color,
|
||||
Span<VkImageSubresourceRange> ranges) {
|
||||
dld->vkCmdClearColorImage(handle, image, layout, &color, ranges.size(), ranges.data());
|
||||
}
|
||||
|
||||
void BlitImage(VkImage src_image, VkImageLayout src_layout, VkImage dst_image,
|
||||
VkImageLayout dst_layout, Span<VkImageBlit> regions,
|
||||
VkFilter filter) const noexcept {
|
||||
|
Reference in New Issue
Block a user