nv50: fix bogus parameters when processing sample instructions
authorRoland Scheidegger <sroland@vmware.com>
Tue, 12 Feb 2013 15:45:49 +0000 (16:45 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 12 Feb 2013 15:51:11 +0000 (16:51 +0100)
commit2947f00bc466a03e3cc99fcf6c6334c2a896bfbe
treecaddae879e5bc13e9af33467e54a1a2247f93bea
parent427d36a22741890a7ce55b6b5bcd40fd4bdd2d35
nv50: fix bogus parameters when processing sample instructions

Discovered accidentally when changing SAMPLE_L definition.
Turns out the lod arguments were already correct for the new definition
but the compare and derivs were not.

Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp