i965: Fix INTEL_DEBUG=shader_time for SIMD8 VS (and GS).
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jan 2015 10:05:18 +0000 (02:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Feb 2015 04:01:03 +0000 (20:01 -0800)
commitd4a461caaf00ae13b83f106f032d3f4125687a02
tree4d429ae51ee7225ece77e249563ffead701dacc5
parent32f1d4e2869fbbac28e9a289fd7a12ee4746071a
i965: Fix INTEL_DEBUG=shader_time for SIMD8 VS (and GS).

We were incorrectly attributing VS time to FS8 on Gen8+, which now use
fs_visitor for vertex shaders.

We don't hit this for geometry shaders yet, but we may as well add
support now - the fix is obvious, and we'll just forget later.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp