r300: fix cycles calculation
authorPavel Ondračka <pavel.ondracka@gmail.com>
Thu, 20 Jul 2023 08:40:09 +0000 (10:40 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 10:19:24 +0000 (10:19 +0000)
commitc9a0e91d4cde7a7d671ec87ac91cbea273066e26
tree6537238475cd3e444f78c3f1d2494bba39d216bf
parent2007d67054e79007c5260449212a2375379ec4f8
r300: fix cycles calculation

There might be more texture semaphores per begin tex block, just do the
cycles calculation on the first one.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24250>
src/gallium/drivers/r300/compiler/radeon_compiler.c