#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(u32 queue_family, u64 min_required_size); buffer* get_scratch_buffer(const command_buffer& cmd, u64 min_required_size); void clear_scratch_resources(); }