diff options
author | Rob Clark <[email protected]> | 2019-11-04 11:41:55 -0800 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-11-09 02:49:15 +0000 |
commit | a3dc975ee7964d84b4df500751695e6d2cbfcc85 (patch) | |
tree | 5d6ae2ac5e9f2ef002e3731ab93e6d10e495317e /src/compiler/glsl/main.cpp | |
parent | 5f45818673ec9edeafd60b79231c22e161793b91 (diff) |
freedreno/ir3: also track # of nops for shader-db
The instruction count is (mostly) a measure of what optimization passes
can do, while # of nops is more an indication of how effectively the
scheduler is balancing register pressure vs instruction count. So track
these independently.
(There could be opportunities to rematerialize values to reduce register
pressure, swapping some nop's with other alu instructions, so nothing is
truely independent.. but it is still useful to break these stats out.)
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler/glsl/main.cpp')
0 files changed, 0 insertions, 0 deletions