broadcom/compiler: return early for SFU op latency calculation
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 25 Apr 2023 07:32:27 +0000 (09:32 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 25 Apr 2023 09:15:34 +0000 (11:15 +0200)
commitc2003535b9960718f4137acd57d89bd814ea5603
tree23c1cfc9c9bc3fe2c55798be1b93d84132a34192
parent148473eae4cd202c83fc49f462f08bff14506bc8
broadcom/compiler: return early for SFU op latency calculation

Since we are returning a fixed latency for these check for them
earlier and return early if they match.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22675>
src/broadcom/compiler/qpu_schedule.c