mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
radv: change queue family order in radv_get_physical_device_queue_family_properties
Fixes: 748b7f80ef ("radv: Move sparse binding into a dedicated queue.")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26428>
This commit is contained in:
parent
42dd48e933
commit
aff59c63eb
1 changed files with 10 additions and 10 deletions
|
|
@ -2110,16 +2110,6 @@ radv_get_physical_device_queue_family_properties(struct radv_physical_device *pd
|
|||
}
|
||||
}
|
||||
|
||||
if (*pCount > idx) {
|
||||
*pQueueFamilyProperties[idx] = (VkQueueFamilyProperties){
|
||||
.queueFlags = VK_QUEUE_SPARSE_BINDING_BIT,
|
||||
.queueCount = 1,
|
||||
.timestampValidBits = 64,
|
||||
.minImageTransferGranularity = (VkExtent3D){1, 1, 1},
|
||||
};
|
||||
idx++;
|
||||
}
|
||||
|
||||
if (pdevice->instance->perftest_flags & RADV_PERFTEST_VIDEO_DECODE) {
|
||||
if (pdevice->rad_info.ip[pdevice->vid_decode_ip].num_queues > 0) {
|
||||
if (*pCount > idx) {
|
||||
|
|
@ -2134,6 +2124,16 @@ radv_get_physical_device_queue_family_properties(struct radv_physical_device *pd
|
|||
}
|
||||
}
|
||||
|
||||
if (*pCount > idx) {
|
||||
*pQueueFamilyProperties[idx] = (VkQueueFamilyProperties){
|
||||
.queueFlags = VK_QUEUE_SPARSE_BINDING_BIT,
|
||||
.queueCount = 1,
|
||||
.timestampValidBits = 64,
|
||||
.minImageTransferGranularity = (VkExtent3D){1, 1, 1},
|
||||
};
|
||||
idx++;
|
||||
}
|
||||
|
||||
*pCount = idx;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue