i965g: s/varient/variant/
authorBrian Paul <brianp@vmware.com>
Thu, 16 Dec 2010 15:47:37 +0000 (08:47 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 16 Dec 2010 17:18:24 +0000 (10:18 -0700)
src/gallium/drivers/i965/brw_misc_state.c
src/gallium/drivers/i965/brw_state.h
src/gallium/drivers/i965/brw_state_upload.c
src/gallium/drivers/i965/brw_wm_fp.c

index 6d89b5d2baf15be26a8b328bf0f636c83de348cf..c635d696617549aee183aca500784a6ac73a1781 100644 (file)
@@ -363,10 +363,10 @@ const struct brw_tracked_state brw_line_stipple = {
 
 
 /***********************************************************************
- * Misc invarient state packets
+ * Misc invariant state packets
  */
 
-static int upload_invarient_state( struct brw_context *brw )
+static int upload_invariant_state( struct brw_context *brw )
 {
    {
       /* 0x61040000  Pipeline Select */
@@ -439,7 +439,7 @@ static int upload_invarient_state( struct brw_context *brw )
    {
       struct brw_polygon_stipple_offset bpso;
       
-      /* This is invarient state in gallium:
+      /* This is invariant state in gallium:
        */
       memset(&bpso, 0, sizeof(bpso));
       bpso.header.opcode = CMD_POLY_STIPPLE_OFFSET;
@@ -453,13 +453,13 @@ static int upload_invarient_state( struct brw_context *brw )
    return 0;
 }
 
-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 d2bbd0123d1192ffe7013ba92513ba0ba40be893..380d511f9bbc87545b5289bbf921af31a16051a7 100644 (file)
@@ -56,7 +56,7 @@ const struct brw_tracked_state brw_clip_prog;
 const struct brw_tracked_state brw_clip_unit;
 const struct brw_tracked_state brw_curbe_buffer;
 const struct brw_tracked_state brw_curbe_offsets;
-const struct brw_tracked_state brw_invarient_state;
+const struct brw_tracked_state brw_invariant_state;
 const struct brw_tracked_state brw_gs_prog;
 const struct brw_tracked_state brw_gs_unit;
 const struct brw_tracked_state brw_line_stipple;
index f8b91eff816709cb65420b9e719e55bb9c3aa32c..cdbf270e06a7e7e056e29811fd78f642269559aa 100644 (file)
@@ -69,7 +69,7 @@ const struct brw_tracked_state *atoms[] =
 
    /* Command packets:
     */
-   &brw_invarient_state,
+   &brw_invariant_state,
    &brw_state_base_address,
 
    &brw_binding_table_pointers,
index f7ee55cc1c85b03b3a37276b0155a726fe978d2a..a65e16edec09d93fea9071c5ea11a9b9beae71ff 100644 (file)
@@ -812,7 +812,7 @@ static void precalc_tex( struct brw_wm_compile *c,
    }
 
    /* XXX: add GL_EXT_texture_swizzle support to gallium -- by
-    * generating shader varients in mesa state tracker.
+    * generating shader variants in mesa state tracker.
     */
 
    /* Release this temp if we ended up allocating it: