pan/bi: Account for message preloading in shaderdb
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 23 Feb 2022 18:49:54 +0000 (13:49 -0500)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 24 Feb 2022 17:51:04 +0000 (12:51 -0500)
commitc8437cd415c79ad597b44c9d3c24540c772c5a59
tree0e3c105e1fc681873f462f14bf37c37f50306f76
parent19541dc8c86801aab5d764d27ce7a6f11ebb94be
pan/bi: Account for message preloading in shaderdb

If a message-passing instruction like LD_VAR is preloaded, it will no longer be
counted in the shader cycle counts. Add a special message preload counter that
approximates the cost of preloading, so this information doesn't get a lost.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9438>
src/panfrost/bifrost/bifrost_compile.c