vc4: Add shader-db dumping of NIR instruction count.
authorEric Anholt <eric@anholt.net>
Fri, 20 Feb 2015 08:31:51 +0000 (00:31 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Apr 2015 17:57:01 +0000 (10:57 -0700)
commit26261bca2137eb1ca57e53f4efb95bcb3f1419df
tree785171eaca9f7c4d82555f70ebeed6c177462ced
parent73e2d4837d7e4611f31532ab0ccc14369341e0cb
vc4: Add shader-db dumping of NIR instruction count.

I was previously using temporary disables of VC4 optimization to show the
benefits of improved NIR optimization, but this can get me quick and dirty
numbers for NIR-only improvements without having to add hacks to disable
VC4's code (disabling of which might hide ways that the NIR changes would
hurt actual VC4 codegen).
src/gallium/drivers/vc4/vc4_program.c