tgsi/dump: print _PRECISE modifier on Instructions
authorKarol Herbst <karolherbst@gmail.com>
Fri, 23 Jun 2017 18:30:21 +0000 (20:30 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 22 Jul 2017 03:45:18 +0000 (23:45 -0400)
Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/tgsi/tgsi_dump.c

index f6eba7424b3cef3292d8b2606a74f9b0a68271a8..b58e64511cec06df079b1f4cb90e395e606aab2f 100644 (file)
@@ -584,6 +584,10 @@ iter_instruction(
       TXT( "_SAT" );
    }
 
+   if (inst->Instruction.Precise) {
+      TXT( "_PRECISE" );
+   }
+
    for (i = 0; i < inst->Instruction.NumDstRegs; i++) {
       const struct tgsi_full_dst_register *dst = &inst->Dst[i];