i965/fs: Handle W/UW-type immediates in dump_instructions().
authorMatt Turner <mattst88@gmail.com>
Fri, 9 Jan 2015 06:55:16 +0000 (22:55 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 15 Feb 2015 22:29:08 +0000 (14:29 -0800)
src/mesa/drivers/dri/i965/brw_fs.cpp

index 4c6524b76b59c32effbf52919c97faac76c99b2c..4949fd58cd3f4587b13b905213955964a6570dd5 100644 (file)
@@ -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;