Cocoa Port: Also add command queue names for Metal display views.

This commit is contained in:
rogerman 2021-08-30 20:07:58 -07:00
parent 03b9481095
commit 4a9c71b988
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/* /*
Copyright (C) 2017-2018 DeSmuME team Copyright (C) 2017-2021 DeSmuME team
This file is free software: you can redistribute it and/or modify This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -65,7 +65,11 @@
[device retain]; [device retain];
commandQueue = [device newCommandQueue]; commandQueue = [device newCommandQueue];
[commandQueue setLabel:@"CQ_DeSmuME_VideoBlitter"];
_fetchCommandQueue = [device newCommandQueue]; _fetchCommandQueue = [device newCommandQueue];
[_fetchCommandQueue setLabel:@"CQ_DeSmuME_FramebufferFetch"];
defaultLibrary = [device newDefaultLibrary]; defaultLibrary = [device newDefaultLibrary];
MTLComputePipelineDescriptor *computePipelineDesc = [[MTLComputePipelineDescriptor alloc] init]; MTLComputePipelineDescriptor *computePipelineDesc = [[MTLComputePipelineDescriptor alloc] init];