i915g: s/varient/variant/
authorBrian Paul <brianp@vmware.com>
Thu, 16 Dec 2010 15:46:35 +0000 (08:46 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 16 Dec 2010 17:18:24 +0000 (10:18 -0700)
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_debug.c
src/gallium/drivers/i915/i915_state_emit.c

index 7103a1b8c16969695553eb89f59885fb731149b9..d15e1723d8379285f26a6462b3f72fe47962cb11 100644 (file)
@@ -272,7 +272,7 @@ struct i915_context {
 #define I915_HW_PROGRAM           (1<<I915_CACHE_PROGRAM)
 #define I915_HW_CONSTANTS         (1<<I915_CACHE_CONSTANTS)
 #define I915_HW_IMMEDIATE         (1<<(I915_MAX_CACHE+0))
-#define I915_HW_INVARIENT         (1<<(I915_MAX_CACHE+1))
+#define I915_HW_INVARIANT         (1<<(I915_MAX_CACHE+1))
 
 
 /***********************************************************************
index d7150c99c4e6513bfb117dbd11e674b424128438..87c435a2f364c0d98ff2064e81276a1f18d3f7a6 100644 (file)
@@ -976,7 +976,7 @@ i915_dump_hardware_dirty(struct i915_context *i915, const char *func)
       {I915_HW_PROGRAM,   "program"},
       {I915_HW_CONSTANTS, "constants"},
       {I915_HW_IMMEDIATE, "immediate"},
-      {I915_HW_INVARIENT, "invarient"},
+      {I915_HW_INVARIANT, "invariant"},
       {0, NULL},
    };
    int i;
index c48d53ffbb2e87365307447eeba4b46376c49af6..86c02976495234688222bd05d6de8140121551cd 100644 (file)
@@ -142,7 +142,7 @@ i915_emit_hardware_state(struct i915_context *i915 )
    save_relocs = i915->batch->relocs;
 
    /* 14 dwords, 0 relocs */
-   if (i915->hardware_dirty & I915_HW_INVARIENT)
+   if (i915->hardware_dirty & I915_HW_INVARIANT)
    {
       OUT_BATCH(_3DSTATE_AA_CMD |
                 AA_LINE_ECAAR_WIDTH_ENABLE |