i965: Stop setting up a 1:1 "attrib" member in our vertex inputs.
authorEric Anholt <eric@anholt.net>
Sun, 6 Apr 2014 19:08:37 +0000 (12:08 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 11 Apr 2014 20:38:53 +0000 (13:38 -0700)
commit99442bc7b20e4d76a5bdff72821e86a7ff5942ab
tree55c4999b2ab61a3b4bc3628283aaf48dd7a66dce
parent9a5d19d680323dfb9705c6c5ac10ac30d9ccc842
i965: Stop setting up a 1:1 "attrib" member in our vertex inputs.

It's just the array index, so we can just go look at the array and see
which element we are.

No significant performance difference (n=140)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/gen8_draw_upload.c