From 506446493118f76305153ab881e363a8a8f1dcde Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 14 Feb 2019 14:42:20 -0600 Subject: [PATCH] intel/fs: Silence a compiler warning Reviewed-by: Caio Marcelo de Oliveira Filho --- src/intel/compiler/brw_fs_generator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.30.2