i965: Correct misspellings of "invariant".
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2012 03:56:54 +0000 (19:56 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2012 04:01:59 +0000 (20:01 -0800)
$ dict invarient
No definitions found for "invarient", perhaps you mean:
gcide:  Invariant
wn:  invariant

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_wm_pass0.c

index e2ac170d0868edacd303f4117d7691a3f42e7fc7..1c0c52bf52b5a8f9de3bd734e1451d2251b2825b 100644 (file)
@@ -630,10 +630,10 @@ const struct brw_tracked_state brw_line_stipple = {
 
 
 /***********************************************************************
- * Misc invarient state packets
+ * Misc invariant state packets
  */
 
-static void upload_invarient_state( struct brw_context *brw )
+static void upload_invariant_state( struct brw_context *brw )
 {
    struct intel_context *intel = &brw->intel;
 
@@ -695,13 +695,13 @@ static void upload_invarient_state( struct brw_context *brw )
    ADVANCE_BATCH();
 }
 
-const struct brw_tracked_state brw_invarient_state = {
+const struct brw_tracked_state brw_invariant_state = {
    .dirty = {
       .mesa = 0,
       .brw = BRW_NEW_CONTEXT,
       .cache = 0
    },
-   .emit = upload_invarient_state
+   .emit = upload_invariant_state
 };
 
 /**
index d2715697c7233a2655ad21203c4cb0535278101d..fcfe79f4aa0f0605899e2295399dfdaf522e2bdc 100644 (file)
@@ -45,7 +45,7 @@ extern const struct brw_tracked_state brw_vs_pull_constants;
 extern const struct brw_tracked_state brw_wm_pull_constants;
 extern const struct brw_tracked_state brw_constant_buffer;
 extern const struct brw_tracked_state brw_curbe_offsets;
-extern const struct brw_tracked_state brw_invarient_state;
+extern const struct brw_tracked_state brw_invariant_state;
 extern const struct brw_tracked_state brw_gs_prog;
 extern const struct brw_tracked_state brw_gs_unit;
 extern const struct brw_tracked_state brw_line_stipple;
index 7ea5e21b3a49ba0241a3a4a73263730b1b6de844..c7b796c68b69ae5845919dfa6ee76c864cc19ffb 100644 (file)
@@ -84,7 +84,7 @@ static const struct brw_tracked_state *gen4_atoms[] =
 
    /* Command packets:
     */
-   &brw_invarient_state,
+   &brw_invariant_state,
    &brw_state_base_address,
 
    &brw_binding_table_pointers,
@@ -121,7 +121,7 @@ static const struct brw_tracked_state *gen6_atoms[] =
    &gen6_sf_vp,
 
    /* Command packets: */
-   &brw_invarient_state,
+   &brw_invariant_state,
 
    /* must do before binding table pointers, cc state ptrs */
    &brw_state_base_address,
@@ -187,7 +187,7 @@ const struct brw_tracked_state *gen7_atoms[] =
    &brw_wm_prog,
 
    /* Command packets: */
-   &brw_invarient_state,
+   &brw_invariant_state,
 
    /* must do before binding table pointers, cc state ptrs */
    &brw_state_base_address,
index ccf9dc2bc18f899ac9cbe872b60f6f4ec3432509..5a9eb0a9fbc30f9af6da709e9e2ece1be2b652ee 100644 (file)
@@ -203,7 +203,7 @@ static const struct brw_wm_ref *pass0_get_reg( struct brw_wm_compile *c,
         switch (plist->Parameters[idx].Type) {
         case PROGRAM_NAMED_PARAM:
         case PROGRAM_CONSTANT:
-           /* These are invarient:
+           /* These are invariant:
             */
            ref = get_const_ref(c, &plist->ParameterValues[idx][component].f);
            break;