i965: Try sending prims down the pipeline.
authorEric Anholt <eric@anholt.net>
Thu, 3 Dec 2009 23:44:29 +0000 (15:44 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 25 Feb 2010 18:53:06 +0000 (10:53 -0800)
Now things catch on fire.

src/mesa/drivers/dri/i965/brw_draw.c

index 106cd31632718f8cc0e73b3878ffc802db834ac7..e348d4686b1cbd41d0298e9de3d2577d3acc5923 100644 (file)
@@ -124,10 +124,6 @@ static void brw_emit_prim(struct brw_context *brw,
    struct brw_3d_primitive prim_packet;
    struct intel_context *intel = &brw->intel;
 
-   /* Last thing to hook up in the pipeline when brw_state_upload.c is done. */
-   if (IS_GEN6(intel->intelScreen->deviceID))
-      return;
-
    if (INTEL_DEBUG & DEBUG_PRIMS)
       printf("PRIM: %s %d %d\n", _mesa_lookup_enum_by_nr(prim->mode), 
                   prim->start, prim->count);