mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	Merge pull request #3387 from bunnei/gpu-mpscqueue
gpu_thread: Use MPSCQueue for GPU commands.
This commit is contained in:
		| @@ -86,7 +86,7 @@ struct CommandDataContainer { | |||||||
| struct SynchState final { | struct SynchState final { | ||||||
|     std::atomic_bool is_running{true}; |     std::atomic_bool is_running{true}; | ||||||
|  |  | ||||||
|     using CommandQueue = Common::SPSCQueue<CommandDataContainer>; |     using CommandQueue = Common::MPSCQueue<CommandDataContainer>; | ||||||
|     CommandQueue queue; |     CommandQueue queue; | ||||||
|     u64 last_fence{}; |     u64 last_fence{}; | ||||||
|     std::atomic<u64> signaled_fence{}; |     std::atomic<u64> signaled_fence{}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bunnei
					bunnei