mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
kk: Remove unused deprecated Metal APIs
Reviewed-by: Aitor Camacho <aitor@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42096>
This commit is contained in:
parent
9c424edd2e
commit
6b06f70af0
3 changed files with 0 additions and 32 deletions
|
|
@ -26,8 +26,6 @@ void mtl_stop_gpu_capture(void);
|
|||
/* Device feature query */
|
||||
void mtl_device_get_name(mtl_device *dev, char buffer[256]);
|
||||
void mtl_device_get_architecture_name(mtl_device *dev, char buffer[256]);
|
||||
uint64_t mtl_device_get_peer_group_id(mtl_device *dev);
|
||||
uint32_t mtl_device_get_peer_index(mtl_device *dev);
|
||||
uint64_t mtl_device_get_registry_id(mtl_device *dev);
|
||||
bool mtl_device_supports_sample_count(mtl_device *dev, uint32_t sample_count);
|
||||
struct mtl_size mtl_device_max_threads_per_threadgroup(mtl_device *dev);
|
||||
|
|
|
|||
|
|
@ -91,24 +91,6 @@ mtl_device_get_architecture_name(mtl_device *dev, char buffer[256])
|
|||
}
|
||||
}
|
||||
|
||||
uint64_t
|
||||
mtl_device_get_peer_group_id(mtl_device *dev)
|
||||
{
|
||||
@autoreleasepool {
|
||||
id<MTLDevice> device = (id<MTLDevice>)dev;
|
||||
return device.peerGroupID;
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t
|
||||
mtl_device_get_peer_index(mtl_device *dev)
|
||||
{
|
||||
@autoreleasepool {
|
||||
id<MTLDevice> device = (id<MTLDevice>)dev;
|
||||
return device.peerIndex;
|
||||
}
|
||||
}
|
||||
|
||||
uint64_t
|
||||
mtl_device_get_registry_id(mtl_device *dev)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,18 +35,6 @@ mtl_device_get_architecture_name(mtl_device *dev, char buffer[256])
|
|||
{
|
||||
}
|
||||
|
||||
uint64_t
|
||||
mtl_device_get_peer_group_id(mtl_device *dev)
|
||||
{
|
||||
return 0u;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
mtl_device_get_peer_index(mtl_device *dev)
|
||||
{
|
||||
return 0u;
|
||||
}
|
||||
|
||||
uint64_t
|
||||
mtl_device_get_registry_id(mtl_device *dev)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue