rpcsx/rpcs3/Emu/RSX/VK/vkutils/scratch.h

13 lines
428 B
C++

#pragma once
#include "image.h"
namespace vk
{
VkSampler null_sampler();
image_view* null_image_view(const command_buffer& cmd, VkImageViewType type);
image* get_typeless_helper(VkFormat format, rsx::format_class format_class, u32 requested_width, u32 requested_height);
buffer* get_scratch_buffer(const command_buffer& cmd, u64 min_required_size, bool zero_memory = false);
void clear_scratch_resources();
}