From: Matt Turner Date: Mon, 5 Nov 2018 17:52:09 +0000 (-0800) Subject: i965/fs: Handle V/UV immediates in dump_instructions() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f447a13032e2eff740d9610d3bed4b734d38f83a;p=mesa.git i965/fs: Handle V/UV immediates in dump_instructions() --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 43b920ae33d..713a6c7f40a 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -6036,6 +6036,11 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) brw_vf_to_float((inst->src[i].ud >> 16) & 0xff), brw_vf_to_float((inst->src[i].ud >> 24) & 0xff)); break; + case BRW_REGISTER_TYPE_V: + case BRW_REGISTER_TYPE_UV: + fprintf(file, "%08x%s", inst->src[i].ud, + inst->src[i].type == BRW_REGISTER_TYPE_V ? "V" : "UV"); + break; default: fprintf(file, "???"); break;