i965: Make shader_time use 0 instead of -1 for "no meaningful ID".
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Apr 2015 08:57:52 +0000 (01:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Apr 2015 19:06:08 +0000 (12:06 -0700)
commite9efd667defe13c89881f138cb5719c72573ff73
treed711cc45e9b4482c65b8063068cb562a133d9221
parentcfab4ea9c654819c96272a62d7b1664e9038fe91
i965: Make shader_time use 0 instead of -1 for "no meaningful ID".

0 is not a valid GLSL shader or ARB program ID.  For some reason,
shader_time used -1 instead...so we had code to detect 0, then override
it to -1.

We can just delete that.

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