nir/schedule: allow drivers to decide about instruction latency
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 3 Mar 2022 11:18:02 +0000 (12:18 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 9 Mar 2022 15:53:04 +0000 (15:53 +0000)
commitfed51585c4acf4e4d10a466e2ad198f4009e9e85
tree76d661d639f9314847a9989a63f0bbf6fd26482f
parente7a4e97076a259bbbea9b02cc804494a8eef9fd8
nir/schedule: allow drivers to decide about instruction latency

On V3D reading UBOs from uniform addresses uses a more efficient
mechanism with lower latency. On other platforms there may be
simular scenarios.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15276>
src/compiler/nir/nir_schedule.c
src/compiler/nir/nir_schedule.h