2024-09-25 15:00:55 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Cache.hpp"
|
2024-09-28 17:07:24 +02:00
|
|
|
#include "FlipPipeline.hpp"
|
2024-09-25 15:00:55 +02:00
|
|
|
#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);
|
2024-09-30 20:43:34 +02:00
|
|
|
void dispatch(Cache &cache, Scheduler &sched,
|
|
|
|
|
Registers::ComputeConfig &computeConfig,
|
|
|
|
|
std::uint32_t groupCountX, std::uint32_t groupCountY,
|
|
|
|
|
std::uint32_t groupCountZ);
|
2024-10-04 16:45:56 +02:00
|
|
|
void flip(Cache::Tag &cacheTag, VkExtent2D targetExtent, std::uint64_t address,
|
|
|
|
|
VkImageView target, VkExtent2D imageExtent, FlipType type,
|
|
|
|
|
TileMode tileMode, gnm::DataFormat dfmt, gnm::NumericFormat nfmt);
|
2024-09-25 15:00:55 +02:00
|
|
|
} // namespace amdgpu
|