i965: Fix typo in shader channel select field name.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Jul 2012 18:24:19 +0000 (11:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Jul 2012 18:31:07 +0000 (11:31 -0700)
"chanel" isn't very searchable.  I can type, honest!

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_structs.h
src/mesa/drivers/dri/i965/gen7_blorp.cpp
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c

index 67bfb982efa31567b1eb2977e474d2ed8be2a098..465d2a28a8ea7ae24d20040ee233eb4f65865669 100644 (file)
@@ -881,10 +881,10 @@ struct gen7_surface_state
 
       /* Only on Haswell */
       GLuint pad0:4;
-      GLuint shader_chanel_select_a:3;
-      GLuint shader_chanel_select_b:3;
-      GLuint shader_chanel_select_g:3;
-      GLuint shader_chanel_select_r:3;
+      GLuint shader_channel_select_a:3;
+      GLuint shader_channel_select_b:3;
+      GLuint shader_channel_select_g:3;
+      GLuint shader_channel_select_r:3;
 
       GLuint alpha_clear_color:1;
       GLuint blue_clear_color:1;
index cc28d8c89517328cc9a345f0ef0abaebb26d72ee..66eb2c8909c803f4330f72e9cd74bdc84420edd9 100644 (file)
@@ -187,10 +187,10 @@ gen7_blorp_emit_surface_state(struct brw_context *brw,
    }
 
    if (intel->is_haswell) {
-      surf->ss7.shader_chanel_select_r = HSW_SCS_RED;
-      surf->ss7.shader_chanel_select_g = HSW_SCS_GREEN;
-      surf->ss7.shader_chanel_select_b = HSW_SCS_BLUE;
-      surf->ss7.shader_chanel_select_a = HSW_SCS_ALPHA;
+      surf->ss7.shader_channel_select_r = HSW_SCS_RED;
+      surf->ss7.shader_channel_select_g = HSW_SCS_GREEN;
+      surf->ss7.shader_channel_select_b = HSW_SCS_BLUE;
+      surf->ss7.shader_channel_select_a = HSW_SCS_ALPHA;
    }
 
    /* Emit relocation to surface contents */
index 25222761e4272808366cffbd134a76993af37037..62d2be8665893ae02c8cbc200b3c2559a4627050 100644 (file)
@@ -339,10 +339,10 @@ gen7_update_texture_surface(struct gl_context *ctx, GLuint unit)
     */
 
    if (brw->intel.is_haswell) {
-      surf->ss7.shader_chanel_select_r = HSW_SCS_RED;
-      surf->ss7.shader_chanel_select_g = HSW_SCS_GREEN;
-      surf->ss7.shader_chanel_select_b = HSW_SCS_BLUE;
-      surf->ss7.shader_chanel_select_a = HSW_SCS_ALPHA;
+      surf->ss7.shader_channel_select_r = HSW_SCS_RED;
+      surf->ss7.shader_channel_select_g = HSW_SCS_GREEN;
+      surf->ss7.shader_channel_select_b = HSW_SCS_BLUE;
+      surf->ss7.shader_channel_select_a = HSW_SCS_ALPHA;
    }
 
    /* Emit relocation to surface contents */
@@ -387,10 +387,10 @@ gen7_create_constant_surface(struct brw_context *brw,
    gen7_set_surface_tiling(surf, I915_TILING_NONE); /* tiling now allowed */
 
    if (brw->intel.is_haswell) {
-      surf->ss7.shader_chanel_select_r = HSW_SCS_RED;
-      surf->ss7.shader_chanel_select_g = HSW_SCS_GREEN;
-      surf->ss7.shader_chanel_select_b = HSW_SCS_BLUE;
-      surf->ss7.shader_chanel_select_a = HSW_SCS_ALPHA;
+      surf->ss7.shader_channel_select_r = HSW_SCS_RED;
+      surf->ss7.shader_channel_select_g = HSW_SCS_GREEN;
+      surf->ss7.shader_channel_select_b = HSW_SCS_BLUE;
+      surf->ss7.shader_channel_select_a = HSW_SCS_ALPHA;
    }
 
    /* Emit relocation to surface contents.  Section 5.1.1 of the gen4
@@ -532,10 +532,10 @@ gen7_update_renderbuffer_surface(struct brw_context *brw,
    }
 
    if (intel->is_haswell) {
-      surf->ss7.shader_chanel_select_r = HSW_SCS_RED;
-      surf->ss7.shader_chanel_select_g = HSW_SCS_GREEN;
-      surf->ss7.shader_chanel_select_b = HSW_SCS_BLUE;
-      surf->ss7.shader_chanel_select_a = HSW_SCS_ALPHA;
+      surf->ss7.shader_channel_select_r = HSW_SCS_RED;
+      surf->ss7.shader_channel_select_g = HSW_SCS_GREEN;
+      surf->ss7.shader_channel_select_b = HSW_SCS_BLUE;
+      surf->ss7.shader_channel_select_a = HSW_SCS_ALPHA;
    }
 
    drm_intel_bo_emit_reloc(brw->intel.batch.bo,