Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / intel / compiler / test_vec4_register_coalesce.cpp
index a3dbb0a72e4605b9a265354dd0f62cdd318106ce..4621fd64ec66ec0ed45342470e41cad413027099 100644 (file)
@@ -57,7 +57,7 @@ public:
    }
 
 protected:
-   virtual dst_reg *make_reg_for_system_value(int location)
+   virtual dst_reg *make_reg_for_system_value(int /* location */)
    {
       unreachable("Not reached");
    }
@@ -77,12 +77,12 @@ protected:
       unreachable("Not reached");
    }
 
-   virtual void emit_urb_write_header(int mrf)
+   virtual void emit_urb_write_header(int /* mrf */)
    {
       unreachable("Not reached");
    }
 
-   virtual vec4_instruction *emit_urb_write_opcode(bool complete)
+   virtual vec4_instruction *emit_urb_write_opcode(bool /* complete */)
    {
       unreachable("Not reached");
    }
@@ -108,7 +108,7 @@ void register_coalesce_test::SetUp()
 static void
 _register_coalesce(vec4_visitor *v, const char *func)
 {
-   bool print = false;
+   const bool print = getenv("TEST_DEBUG");
 
    if (print) {
       printf("%s: instructions before:\n", func);