anv: Drop unused local variable
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 22 Aug 2019 14:59:47 +0000 (07:59 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 23 Aug 2019 20:25:27 +0000 (13:25 -0700)
Leftover from 021fa28163a ("xintel/nir: Add a helper for getting
BRW_AOP from an intrinsic").

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs_nir.cpp

index 2cf95459856922bbc90b45cc0199e86c4b204941..f003abc2014da34fbebf0b9cf57e96d9cc982712 100644 (file)
@@ -3963,7 +3963,6 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
 
       /* Get some metadata from the image intrinsic. */
       const nir_intrinsic_info *info = &nir_intrinsic_infos[instr->intrinsic];
-      const GLenum format = nir_intrinsic_format(instr);
 
       fs_reg srcs[SURFACE_LOGICAL_NUM_SRCS];