From f447a13032e2eff740d9610d3bed4b734d38f83a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 5 Nov 2018 09:52:09 -0800 Subject: [PATCH] i965/fs: Handle V/UV immediates in dump_instructions() --- src/intel/compiler/brw_fs.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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;