Module: Mesa
Branch: main
Commit: 524156864122ac44155fbf8649700cac2f11cc17
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=524156864122ac44155fbf8649700cac2f11cc17

Author: Gert Wollny <[email protected]>
Date:   Mon Sep  5 17:38:53 2022 +0200

r600/sfn: print tex prepare instructions

Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18619>

---

 src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp 
b/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp
index 14b97f2b7f2..06d515c0160 100644
--- a/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp
+++ b/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp
@@ -138,6 +138,10 @@ bool TexInstr::do_ready() const
 void TexInstr::do_print(std::ostream& os) const
 {
 
+   for (auto& p : prepare_instr()) {
+      os << *p << "\n";
+   }
+
    os << "TEX " << opname(m_opcode) << " ";
    print_dest(os);
 

Reply via email to