intel/fs: Silence a compiler warning

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
Jason Ekstrand
2019-02-14 14:42:20 -06:00
parent 9b202239ba
commit 5064464931

View 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: