intel/fs: Silence a compiler warning
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Feb 2019 20:42:20 +0000 (14:42 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Feb 2019 22:04:47 +0000 (16:04 -0600)
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_fs_generator.cpp

index e3b68fa31658c2e2d086ca82999bcd627d393b8c..64872fc948756c59bf94e541d7bb6a0022021495 100644 (file)
@@ -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: