Cycles: Apple Silicon tidy: Remove non-UMA codepaths

This PR removes a bunch of dead code following #123551 (removal of AMD and Intel GPU support). It is safe to assume that UMA will be available, so a lot of codepaths that dealt with copying between CPU and GPU are now just clutter.

Pull Request: https://projects.blender.org/blender/blender/pulls/136117
This commit is contained in:
Michael Jones
2025-03-18 19:09:25 +01:00
committed by Michael Jones (Apple)
parent 7bf17d83ab
commit 1a93dfe4fc
7 changed files with 51 additions and 307 deletions

View File

@@ -71,13 +71,6 @@ class MetalDeviceQueue : public DeviceQueue {
dispatch_queue_t event_queue_;
dispatch_semaphore_t wait_semaphore_;
struct CopyBack {
void *host_pointer;
void *gpu_mem;
uint64_t size;
};
std::vector<CopyBack> copy_back_mem_;
uint64_t shared_event_id_;
uint64_t command_buffers_submitted_ = 0;
uint64_t command_buffers_completed_ = 0;