freedreno/ir3: use saml always if we have lod
authorRob Clark <robdclark@gmail.com>
Mon, 4 Jun 2018 20:40:52 +0000 (16:40 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 11 Jun 2018 13:06:03 +0000 (09:06 -0400)
commit132e5b0b34d9c45e902a4c9acd21b4408d96c3b2
treef86a10b24f7451cc7cde9348e1d485344966db0d
parentcf5dda334945e2cbfaf5f83fd32c3fa01f436d81
freedreno/ir3: use saml always if we have lod

In some cases we get plain tex opcodes (but w/ a lod argument).. in this
case always use the saml instruction.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c