mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
25 lines
712 B
C++
25 lines
712 B
C++
#pragma once
|
|
#include "tiler.hpp"
|
|
#include <Scheduler.hpp>
|
|
#include <memory>
|
|
|
|
namespace amdgpu {
|
|
struct GpuTiler {
|
|
struct Impl;
|
|
GpuTiler();
|
|
~GpuTiler();
|
|
|
|
void detile(Scheduler &scheduler, const amdgpu::SurfaceInfo &info,
|
|
amdgpu::TileMode tileMode, std::uint64_t srcTiledAddress,
|
|
std::uint64_t dstLinearAddress, int mipLevel, int baseArray,
|
|
int arrayCount);
|
|
void tile(Scheduler &scheduler, const amdgpu::SurfaceInfo &info,
|
|
amdgpu::TileMode tileMode, std::uint64_t srcLinearAddress,
|
|
std::uint64_t dstTiledAddress, int mipLevel, int baseArray,
|
|
int arrayCount);
|
|
|
|
private:
|
|
std::unique_ptr<Impl> mImpl;
|
|
};
|
|
} // namespace amdgpu
|