ac/nir: remove useless integer cast in visit_image_load()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Apr 2019 15:16:54 +0000 (17:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Apr 2019 15:30:55 +0000 (17:30 +0200)
commit8a6442075f0611d4ccdddfd77fd6b2342d5b2ef0
treecb03250e0ebf40c8b556a01f191bd720508dc9cb
parentffbb62f808a3c98ad4179f246b46be5c00d0736d
ac/nir: remove useless integer cast in visit_image_load()

ac_build_image_opcode() casts if necessary and buffer images
are casted too.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c