i965: Fix spelling of GEN7_SAMPLER_EWA_ANISOTROPIC_ALGORITHM
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 28 Sep 2014 04:07:37 +0000 (17:07 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 1 Oct 2014 05:37:06 +0000 (18:37 +1300)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_sampler_state.c

index 2faebe85a0c404b80b1826f4776649f773bf2fff..94d146c5b363af33803c29ff7247385c60996c8c 100644 (file)
 
 #define GEN7_SAMPLER_LOD_BIAS_MASK              INTEL_MASK(13, 1)
 #define GEN7_SAMPLER_LOD_BIAS_SHIFT             1
-#define GEN7_SAMPLER_EWA_ANISOTROPIC_ALGORIHTM  (1 << 0)
+#define GEN7_SAMPLER_EWA_ANISOTROPIC_ALGORITHM  (1 << 0)
 
 /* SAMPLER_STATE DW1 */
 #define GEN4_SAMPLER_MIN_LOD_MASK               INTEL_MASK(31, 22)
index 544aa57b6d141db6041e1a9432893af5beeab9cd..5855af6d2bfa16a84f500be3e3447d2b7e9c0c4d 100644 (file)
@@ -115,7 +115,7 @@ brw_emit_sampler_state(struct brw_context *brw,
       ss[0] |= SET_FIELD(lod_bias & 0x1fff, GEN7_SAMPLER_LOD_BIAS);
 
       if (min_filter == BRW_MAPFILTER_ANISOTROPIC)
-         ss[0] |= GEN7_SAMPLER_EWA_ANISOTROPIC_ALGORIHTM;
+         ss[0] |= GEN7_SAMPLER_EWA_ANISOTROPIC_ALGORITHM;
 
       ss[1] = SET_FIELD(min_lod, GEN7_SAMPLER_MIN_LOD) |
               SET_FIELD(max_lod, GEN7_SAMPLER_MAX_LOD) |