i965: Delete some unnecessary code in brw_report_shader_time().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Apr 2015 09:04:17 +0000 (02:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Apr 2015 19:07:33 +0000 (12:07 -0700)
commiteb6e770889536e44da0947b64955e9a923ba98f6
tree430fd26a498a373e8512db8aead2faba627bb18a
parente9efd667defe13c89881f138cb5719c72573ff73
i965: Delete some unnecessary code in brw_report_shader_time().

It is true that a gl_shader_program with ID 0 will be a fixed-function
fragment program; a gl_program with ID 0 but NULL gl_shader_program
means that it's a fixed-function vertex shader.

But that's not terribly interesting or relevant to what we're doing.
We just need to know that ID 0 means "fixed function".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_program.c