i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_eu.c
index c53efba599105ed1e3bdadc1c08af287551d896e..4e7c1226ad4dd8b26b1c1a572f85b14bfe01dd36 100644 (file)
@@ -62,7 +62,7 @@ void brw_set_predicate_control( struct brw_compile *p, GLuint pc )
 
 void brw_set_conditionalmod( struct brw_compile *p, GLuint conditional )
 {
-   p->current->header.destreg__conditonalmod = conditional;
+   p->current->header.destreg__conditionalmod = conditional;
 }
 
 void brw_set_access_mode( struct brw_compile *p, GLuint access_mode )
@@ -237,7 +237,7 @@ brw_resolve_cals(struct brw_compile *c)
         struct brw_glsl_call *call, *next;
         for (call = c->first_call; call; call = next) {
            next = call->next;
-           _mesa_free(call);
+           free(call);
        }
        c->first_call = NULL;
     }
@@ -247,7 +247,7 @@ brw_resolve_cals(struct brw_compile *c)
         struct brw_glsl_label *label, *next;
        for (label = c->first_label; label; label = next) {
            next = label->next;
-           _mesa_free(label);
+           free(label);
        }
        c->first_label = NULL;
     }