radeon: make texture logging more useful
[mesa.git] / src / gallium / drivers / r600 / sb / sb_ir.h
index d55f4de67b87d7cdd4b9e15f524b9469f8ee4861..a74d6cb5aa2e23d2f25a40805409c7e0db212e76 100644 (file)
@@ -963,7 +963,7 @@ public:
 class cf_node : public container_node {
 protected:
        cf_node() : container_node(NT_OP, NST_CF_INST), jump_target(),
-               jump_after_target() {};
+               jump_after_target() { memset(&bc, 0, sizeof(bc_cf)); };
 public:
        bc_cf bc;
 
@@ -982,7 +982,7 @@ public:
 
 class alu_node : public node {
 protected:
-       alu_node() : node(NT_OP, NST_ALU_INST) {};
+       alu_node() : node(NT_OP, NST_ALU_INST) { memset(&bc, 0, sizeof(bc_alu)); };
 public:
        bc_alu bc;
 
@@ -1014,7 +1014,7 @@ public:
                return static_cast<alu_node*>(first)->bc.op_ptr;
        }
        unsigned op() { return static_cast<alu_node*>(first)->bc.op; }
-       void init_args();
+       void init_args(bool repl);
 
        virtual bool is_valid() { return subtype == NST_ALU_PACKED_INST; }
        virtual bool accept(vpass &p, bool enter);
@@ -1028,7 +1028,7 @@ public:
 
 class fetch_node : public node {
 protected:
-       fetch_node() : node(NT_OP, NST_FETCH_INST) {};
+       fetch_node() : node(NT_OP, NST_FETCH_INST) { memset(&bc, 0, sizeof(bc_fetch)); };
 public:
        bc_fetch bc;