ac/nir: remove misleading condition
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 28 Aug 2017 22:36:57 +0000 (01:36 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 28 Aug 2017 22:36:57 +0000 (01:36 +0300)
commit29f46488cc41d11f44e5e7a59bcedae761707d76
tree8ce83e73be3ac8d5e0a5448c04ade64708197231
parent2b4e31bc9bb76e35fd700133b89bb56909f63025
ac/nir: remove misleading condition

location is never set to INTERP_SAMPLE, and Nicolai comments:
"... that part is misleading. location refers to the base location, not
the final location of the sample, and it can never be INTERP_SAMPLE."

Suggested-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
src/amd/common/ac_nir_to_llvm.c