Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / intel / compiler / brw_compile_sf.c
index 51eb9b0dbf924201f654fe8705e6817b569bac14..d8aca0f710049d293e724214043f88a8d7b61cb3 100644 (file)
@@ -167,9 +167,9 @@ static void do_twoside_color( struct brw_sf_compile *c )
    brw_IF(p, BRW_EXECUTE_4);
    {
       switch (c->nr_verts) {
-      case 3: copy_bfc(c, c->vert[2]);
-      case 2: copy_bfc(c, c->vert[1]);
-      case 1: copy_bfc(c, c->vert[0]);
+      case 3: copy_bfc(c, c->vert[2]); /* fallthrough */
+      case 2: copy_bfc(c, c->vert[1]); /* fallthrough */
+      case 1: copy_bfc(c, c->vert[0]); /* fallthrough */
       }
    }
    brw_ENDIF(p);
@@ -870,8 +870,8 @@ brw_compile_sf(const struct brw_compiler *compiler,
 
    if (unlikely(INTEL_DEBUG & DEBUG_SF)) {
       fprintf(stderr, "sf:\n");
-      brw_disassemble(compiler->devinfo,
-                      program, 0, *final_assembly_size, stderr);
+      brw_disassemble_with_labels(compiler->devinfo,
+                                  program, 0, *final_assembly_size, stderr);
       fprintf(stderr, "\n");
    }