i965/fp: Set coord_components correctly for cube textures.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 4 Apr 2015 01:30:57 +0000 (18:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 6 Apr 2015 20:49:01 +0000 (13:49 -0700)
commit62050886c85b7b3b6c94e3c2363966b4f14df0bd
treee067b529e089b1b5a67b71269117d07fd6912799
parentdd7d0687848fb6c310debef4a6ff61b2159d2a4d
i965/fp: Set coord_components correctly for cube textures.

I've no idea why this was 4.  It certainly seems wrong.

Prevents assertion failures in fp-incomplete-tex with some upcoming
patches of mine.

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