i965: Split the gen4 and gen5 sampler handling apart.
authorEric Anholt <eric@anholt.net>
Fri, 1 Oct 2010 02:18:25 +0000 (19:18 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 1 Oct 2010 03:23:40 +0000 (20:23 -0700)
commit1d073cb2d920d1c0b8c6d598055b14048fedc96e
treee2500f4f7351f4d5adebc6b2a4bbddf39291e2f4
parent5f237a1ccb28399fbbceecea694f5d18ebba9938
i965: Split the gen4 and gen5 sampler handling apart.

Trying to track the insanity of the different argument layouts for
normal/shadow crossed with normal/lod/bias one generation at a time is
enough.

Fixes: glsl1-texture2D() with bias.
(first test passing in this code that doesn't pass without it!)
src/mesa/drivers/dri/i965/brw_fs.cpp