panfrost/midgard: Include loop count for shader-db
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 9 Jul 2019 18:10:49 +0000 (11:10 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 10 Jul 2019 13:45:20 +0000 (06:45 -0700)
commit7ad6516f3b70e46683bedbe2dc22623d87e13525
tree44ddd8e725d8f32bbb9db350d487179b8a91f720
parent138e40d471900a0b9852b248b95955705502324d
panfrost/midgard: Include loop count for shader-db

We have to emit it anyway for the report to be happy (with respect to
unrolling), so return an actual count rather than dummy numbers.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/midgard/compiler.h
src/gallium/drivers/panfrost/midgard/midgard_compile.c