Mesa (master): i965/fs: Handle W/UW-type immediates in dump_instructions() .

Matt Turner mattst88 at kemper.freedesktop.org
Sun Feb 15 22:29:19 UTC 2015


Module: Mesa
Branch: master
Commit: 7a83f7d4814c9216316a742e97c33259f7b3ae76
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a83f7d4814c9216316a742e97c33259f7b3ae76

Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Jan  8 22:55:16 2015 -0800

i965/fs: Handle W/UW-type immediates in dump_instructions().

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 4c6524b..4949fd5 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;




More information about the mesa-commit mailing list