pan/midgard: Count shader-db stats by bundled instructions
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 30 Aug 2019 20:08:16 +0000 (13:08 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 30 Aug 2019 22:50:22 +0000 (15:50 -0700)
commit67909c8ff288483106bea63e893752e6989eb3e3
treec584da0d96f4d2451f5a4ab0b0aacaa5ab1e5d7e
parent3f9dc97124d8a7ce28e208c2020048b97e4aa1db
pan/midgard: Count shader-db stats by bundled instructions

This does not affect shaders in any way. Rather, it makes the shader-db
instruction count recorded in the compiler accurate with the in-order
scheduler, matching up with what we calculate from pandecode.

Though shaders are the same, instruction counts cannot be compared
across this commit for this reason.

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