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

Author: Matt Turner <[email protected]>
Date:   Mon Nov  5 09:52:09 2018 -0800

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 43b920ae33..713a6c7f40 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;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to