[Mesa-dev] [PATCH 06/10] i965: Parameterize HiZ code to prepare for adding blitting.

Chris Forbes chrisf at ijw.co.nz
Wed May 2 14:20:41 PDT 2012


+void
+brw_blorp_params::exec(struct intel_context *intel) const
+{
+   switch (intel->gen) {
+   case 6:
+      gen6_blorp_exec(intel, this);
+      break;
+   case 7:
+      gen7_blorp_exec(intel, this);
+      break;
+   default:
+      /* BLORP is not supported before Gen7. */
+      assert(false);
+      break;
+   }
+}

Presumably the comment in the default case should be Gen6 ?

-- Chris


More information about the mesa-dev mailing list