i965/vs: Set LOD to 0 for ordinary texture() calls.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Jan 2013 03:09:52 +0000 (19:09 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Jan 2013 19:31:26 +0000 (11:31 -0800)
commitaeff9a0d9889c4583e4f7fc89539380c1e6d043c
tree1042ae901775285f4978e42c7995c15e40ed97d0
parent56ce55d198af65d4a9de7119eb9e2417296c54ea
i965/vs: Set LOD to 0 for ordinary texture() calls.

Previously it was left undefined, causing us to select a random LOD.

NOTE: This is a candidate for stable branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp