rpcsx/rpcsx-gpu2/Renderer.hpp
DH 4e83c9e121 gpu2: fix flipper
static pipeline for flip engine
optimize linear tiler
fixed out of bound in the tiler
implement swizzling for sampled images
2024-09-28 18:07:24 +03:00

19 lines
683 B
C++

#pragma once
#include "Cache.hpp"
#include "FlipPipeline.hpp"
#include "Pipe.hpp"
#include <cstdint>
#include <vulkan/vulkan_core.h>
namespace amdgpu {
void draw(GraphicsPipe &pipe, int vmId, std::uint32_t firstVertex,
std::uint32_t vertexCount, std::uint32_t firstInstance,
std::uint32_t instanceCount, std::uint64_t indiciesAddress,
std::uint32_t indexCount);
void flip(Cache::Tag &cacheTag, VkCommandBuffer commandBuffer,
VkExtent2D targetExtent, std::uint64_t address, VkImageView target,
VkExtent2D imageExtent, FlipType type, TileMode tileMode,
gnm::DataFormat dfmt, gnm::NumericFormat nfmt);
} // namespace amdgpu