mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
anv: Drop useless STATIC_ASSERT in anv_physical_device_init_queue_families()
assert(family_count <= ANV_MAX_QUEUE_FAMILIES) already takes care of STATIC_ASSERT without need of updates. Suggested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26882>
This commit is contained in:
parent
0997766069
commit
428a179865
1 changed files with 0 additions and 5 deletions
|
|
@ -2085,11 +2085,6 @@ anv_physical_device_init_queue_families(struct anv_physical_device *pdevice)
|
|||
.engine_class = INTEL_ENGINE_CLASS_COPY,
|
||||
};
|
||||
}
|
||||
|
||||
/* Increase count below when other families are added as a reminder to
|
||||
* increase the ANV_MAX_QUEUE_FAMILIES value.
|
||||
*/
|
||||
STATIC_ASSERT(ANV_MAX_QUEUE_FAMILIES >= 5);
|
||||
} else {
|
||||
/* Default to a single render queue */
|
||||
pdevice->queue.families[family_count++] = (struct anv_queue_family) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue