mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-07 20:50:58 +00:00
Adjustments based on previous handlings for descriptors usage
This commit is contained in:
@@ -145,6 +145,10 @@ public:
|
||||
return gpu_addr < address_space_size;
|
||||
}
|
||||
|
||||
u64 MappingGeneration() const noexcept {
|
||||
return mapping_generation.load(std::memory_order_acquire);
|
||||
}
|
||||
|
||||
PTEKind GetPageKind(GPUVAddr gpu_addr) const;
|
||||
|
||||
size_t GetMemoryLayoutSize(GPUVAddr gpu_addr,
|
||||
@@ -197,6 +201,8 @@ private:
|
||||
|
||||
VideoCore::RasterizerInterface* rasterizer = nullptr;
|
||||
|
||||
std::atomic<u64> mapping_generation{1};
|
||||
|
||||
enum class EntryType : u64 {
|
||||
Free = 0,
|
||||
Reserved = 1,
|
||||
|
||||
Reference in New Issue
Block a user