i965/vs: Include URB payload setup in shader_time.
authorEric Anholt <eric@anholt.net>
Tue, 19 Mar 2013 23:28:54 +0000 (16:28 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 28 Mar 2013 18:46:41 +0000 (11:46 -0700)
commit6192e9b377c6fa4f36da42af6c06ca32b10e7e62
treecbc14e61786b1e02354c3e5f8f78e12ef83f353a
parent55feb19704ae69c580f431d6498344521de369cd
i965/vs: Include URB payload setup in shader_time.

This much more accurately reflects the cost of the vertex shader, since
the payload setup is often a significant fraction of the instructions in
the VS.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp