From: Matt Turner Date: Fri, 9 Jan 2015 06:55:16 +0000 (-0800) Subject: i965/fs: Handle W/UW-type immediates in dump_instructions(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a83f7d4814c9216316a742e97c33259f7b3ae76;p=mesa.git i965/fs: Handle W/UW-type immediates in dump_instructions(). --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 4c6524b76b5..4949fd58cd3 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3331,9 +3331,11 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) case BRW_REGISTER_TYPE_F: fprintf(file, "%ff", inst->src[i].fixed_hw_reg.dw1.f); break; + case BRW_REGISTER_TYPE_W: case BRW_REGISTER_TYPE_D: fprintf(file, "%dd", inst->src[i].fixed_hw_reg.dw1.d); break; + case BRW_REGISTER_TYPE_UW: case BRW_REGISTER_TYPE_UD: fprintf(file, "%uu", inst->src[i].fixed_hw_reg.dw1.ud); break;