r600/sb: just add some missing debug bits
authorDave Airlie <airlied@redhat.com>
Thu, 1 Feb 2018 02:06:40 +0000 (12:06 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Feb 2018 02:06:40 +0000 (12:06 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_bc_dump.cpp

index 3b5d9e77b2ec3319fc067abe73ff01ca5d4edc48..9093531fb3c3417159da18095855cf4fbd293b36 100644 (file)
@@ -330,6 +330,21 @@ static void print_src(sb_ostream &s, bc_alu &alu, unsigned idx)
                case ALU_SRC_0:
                        s << "0";
                        break;
+               case ALU_SRC_MASK_LO:
+                       s << "MASK_LO";
+                       break;
+               case ALU_SRC_MASK_HI:
+                       s << "MASK_HI";
+                       break;
+               case ALU_SRC_HW_WAVE_ID:
+                       s << "HW_WAVE_ID";
+                       break;
+               case ALU_SRC_SIMD_ID:
+                       s << "SIMD_ID";
+                       break;
+               case ALU_SRC_SE_ID:
+                       s << "SE_ID";
+                       break;
                default:
                        s << "??IMM_" <<  sel;
                        break;