tgsi: add Texture and Format to tgsi_instruction_memory
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_dump.c
index f232f3870d1e8f86a1aa9b2b395b5911baf687c1..c8b91bba53439555550ecb6ee11507d046f70770 100644 (file)
@@ -637,6 +637,14 @@ iter_instruction(
          TXT(", ");
          ENM(bit, tgsi_memory_names);
       }
+      if (inst->Memory.Texture) {
+         TXT( ", " );
+         ENM( inst->Memory.Texture, tgsi_texture_names );
+      }
+      if (inst->Memory.Format) {
+         TXT( ", " );
+         TXT( util_format_name(inst->Memory.Format) );
+      }
    }
 
    switch (inst->Instruction.Opcode) {