From: Jason Ekstrand Date: Wed, 17 Sep 2014 01:02:52 +0000 (-0700) Subject: i965/fs: Use exec_size instead of force_uncompressed in dump_instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48ddd2889e15aaf8ddb6dff5d8b6dc275f7f3f8d;p=mesa.git i965/fs: Use exec_size instead of force_uncompressed in dump_instruction Signed-off-by: Jason Ekstrand Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 2f4ce5bd158..1487e664646 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3082,7 +3082,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) fprintf(file, ".f0.%d", inst->flag_subreg); } } - fprintf(file, " "); + fprintf(file, "(%d) ", inst->exec_size); switch (inst->dst.file) { @@ -3233,11 +3233,12 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) fprintf(file, " "); - if (inst->force_uncompressed) - fprintf(file, "1sthalf "); - - if (inst->force_sechalf) - fprintf(file, "2ndhalf "); + if (dispatch_width == 16 && inst->exec_size == 8) { + if (inst->force_sechalf) + fprintf(file, "2ndhalf "); + else + fprintf(file, "1sthalf "); + } fprintf(file, "\n"); }