intel/compiler: Report the number of non-spill/fill SEND messages on vec4 too
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 29 Oct 2019 19:18:16 +0000 (12:18 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 31 Oct 2019 04:27:03 +0000 (21:27 -0700)
commit7b3f38ef69769f1d2bc022186b404885396b1136
treee7635c34d2e4afe610e9b9f3e9b509a50e820642
parentb380d479989a2663a74003750e3ad0317e57efaf
intel/compiler: Report the number of non-spill/fill SEND messages on vec4 too

This make shader-db's report.py work on Haswell and earlier platforms.
The problem is that the script would detect the "sends" output for
scalar shaders and expect in in vec4 shaders too.  When it didn't find
it, the script would fail with:

    Traceback (most recent call last):
      File "./report.py", line 351, in <module>
        main()
      File "./report.py", line 182, in main
        before_count = before[p][m]
    KeyError: 'sends'

Fixes: f192741ddd8 ("intel/compiler: Report the number of non-spill/fill SEND messages")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_vec4_generator.cpp