Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / intel / compiler / brw_fs_validate.cpp
index 676942c19c00501180efe1f92f2139323a178f0d..75a794fd7940cdd937ee036df6e4a2ed4d94a3bb 100644 (file)
@@ -41,6 +41,7 @@
 void
 fs_visitor::validate()
 {
+#ifndef NDEBUG
    foreach_block_and_inst (block, fs_inst, inst, cfg) {
       if (inst->dst.file == VGRF) {
          fsv_assert(inst->dst.offset / REG_SIZE + regs_written(inst) <=
@@ -54,4 +55,5 @@ fs_visitor::validate()
          }
       }
    }
+#endif
 }