diff options
author | Jason Ekstrand <[email protected]> | 2014-09-16 18:02:52 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-09-30 10:29:15 -0700 |
commit | 48ddd2889e15aaf8ddb6dff5d8b6dc275f7f3f8d (patch) | |
tree | d5c26e21ab5ed41ff36939db3ad09ef3221f47bb | |
parent | b18fd234da275a0ec6b3c5cb77497a4c487c6366 (diff) |
i965/fs: Use exec_size instead of force_uncompressed in dump_instruction
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
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"); } |