From: Caio Marcelo de Oliveira Filho Date: Thu, 22 Aug 2019 14:59:47 +0000 (-0700) Subject: anv: Drop unused local variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eac8a3b9af15d8264e104fe31471e3d1f13c6930;p=mesa.git anv: Drop unused local variable Leftover from 021fa28163a ("xintel/nir: Add a helper for getting BRW_AOP from an intrinsic"). Acked-by: Eric Engestrom Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index 2cf95459856..f003abc2014 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -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];