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>
Wed, 30 Jan 2013 20:15:38 +0000 (12:15 -0800)
commit29bc8e7d8f166ae09edb8efda0b8c3bd8b7b7321
tree1d7c0e3b4d72c9a4077d1e810bdda3aea67f63b7
parentde150e24781cfb9f2f7e62355f3af68d23c681df
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>
(cherry picked from commit aeff9a0d9889c4583e4f7fc89539380c1e6d043c)
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp