From: Jason Ekstrand Date: Thu, 14 Feb 2019 20:42:20 +0000 (-0600) Subject: intel/fs: Silence a compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=506446493118f76305153ab881e363a8a8f1dcde;p=mesa.git intel/fs: Silence a compiler warning Reviewed-by: Caio Marcelo de Oliveira Filho --- diff --git a/src/intel/compiler/brw_fs_generator.cpp b/src/intel/compiler/brw_fs_generator.cpp index e3b68fa3165..64872fc9487 100644 --- a/src/intel/compiler/brw_fs_generator.cpp +++ b/src/intel/compiler/brw_fs_generator.cpp @@ -981,12 +981,11 @@ fs_generator::generate_tex(fs_inst *inst, struct brw_reg dst, int msg_type = -1; uint32_t simd_mode; uint32_t return_format; - bool is_combined_send = inst->eot; /* Sampler EOT message of less than the dispatch width would kill the * thread prematurely. */ - assert(!is_combined_send || inst->exec_size == dispatch_width); + assert(!inst->eot || inst->exec_size == dispatch_width); switch (dst.type) { case BRW_REGISTER_TYPE_D: