Fix a few typos
authorZoë Blade <zoe@bytenoise.co.uk>
Wed, 22 Apr 2015 10:33:17 +0000 (11:33 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Apr 2015 14:28:29 +0000 (17:28 +0300)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
78 files changed:
docs/VERSIONS
docs/index.html
docs/libGL.txt
docs/relnotes/10.0.3.html
docs/relnotes/7.10.html
docs/versions.html
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/rbug/rbug_connection.c
src/gallium/drivers/i915/i915_prim_vbuf.c
src/gallium/drivers/i915/i915_resource_texture.c
src/gallium/drivers/i915/i915_state_dynamic.c
src/gallium/drivers/i915/i915_state_immediate.c
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_scene.h
src/gallium/drivers/r300/compiler/memory_pool.h
src/gallium/drivers/r300/compiler/radeon_variable.c
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_reg.h
src/gallium/drivers/r300/r300_tgsi_to_rc.h
src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/state_trackers/glx/xlib/xm_api.c
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/vdpau/device.c
src/gallium/state_trackers/wgl/stw_framebuffer.h
src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c
src/glsl/ast_function.cpp
src/glsl/glcpp/glcpp-parse.y
src/glsl/link_uniforms.cpp
src/glsl/lower_packing_builtins.cpp
src/glsl/nir/nir_from_ssa.c
src/glsl/opt_dead_builtin_varyings.cpp
src/glsl/opt_function_inlining.cpp
src/glx/XF86dri.c
src/glx/apple/apple_glx.c
src/glx/apple/apple_glx_context.c
src/glx/apple/apple_glx_surface.c
src/glx/glxcmds.c
src/glx/indirect_vertex_array.c
src/glx/single2.c
src/gtest/include/gtest/internal/gtest-filepath.h
src/gtest/src/gtest-filepath.cc
src/loader/loader.h
src/mapi/glapi/gen/glX_proto_send.py
src/mapi/glapi/gen/glX_proto_size.py
src/mapi/glapi/gen/gl_x86-64_asm.py
src/mesa/drivers/dri/i915/i830_state.c
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/i915/intel_context.h
src/mesa/drivers/dri/i915/intel_tex_layout.c
src/mesa/drivers/dri/i965/brw_clip_unfilled.c
src/mesa/drivers/dri/i965/brw_clip_util.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/gen7_sol_state.c
src/mesa/drivers/dri/r200/r200_ioctl.h
src/mesa/drivers/dri/r200/r200_texstate.c
src/mesa/drivers/dri/radeon/radeon_common_context.h
src/mesa/drivers/dri/radeon/radeon_ioctl.h
src/mesa/drivers/x11/xm_api.c
src/mesa/main/context.c
src/mesa/main/ffvertex_prog.c
src/mesa/main/formats.c
src/mesa/math/m_matrix.c
src/mesa/program/hash_table.h
src/mesa/program/prog_cache.c
src/mesa/state_tracker/st_cb_flush.c
src/mesa/swrast/s_texcombine.c
src/mesa/tnl/t_vertex.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c

index 0ebcd1469c6b823e0bb852afefbe1c978279de84..9af1546a8e9de72a563219c159054e9a286069fb 100644 (file)
@@ -103,7 +103,7 @@ Mesa Version History
        - Stencil-related functions now work in display lists
     Changes:
        - renamed aux.h as glaux.h (MS-DOS names can't start with aux)
        - Stencil-related functions now work in display lists
     Changes:
        - renamed aux.h as glaux.h (MS-DOS names can't start with aux)
-       - most filenames are in 8.3 format to accomodate MS-DOS
+       - most filenames are in 8.3 format to accommodate MS-DOS
        - use GLubytes to store arrays of colors instead of GLints
 
 1.2.2   August 2, 1995
        - use GLubytes to store arrays of colors instead of GLints
 
 1.2.2   August 2, 1995
@@ -1007,7 +1007,7 @@ Mesa Version History
        - glGetTexImage was using pixel unpacking instead of packing params
        - auto-mipmap generation for cube maps was incorrect
     Changes:
        - glGetTexImage was using pixel unpacking instead of packing params
        - auto-mipmap generation for cube maps was incorrect
     Changes:
-       - max texture units reduced to six to accomodate texture rectangles
+       - max texture units reduced to six to accommodate texture rectangles
        - removed unfinished GL_MESA_sprite_point extension code
 
 
        - removed unfinished GL_MESA_sprite_point extension code
 
 
index c642604eeb2321d3e36bd90abe9d8b190897b50b..e01790cd79d446ee451c09783fdbeb179ef290c5 100644 (file)
@@ -1366,7 +1366,7 @@ The <a href="faq.html">Mesa FAQ</a> has been rewritten.
        - glGetTexImage was using pixel unpacking instead of packing params
        - auto-mipmap generation for cube maps was incorrect
     Changes:
        - glGetTexImage was using pixel unpacking instead of packing params
        - auto-mipmap generation for cube maps was incorrect
     Changes:
-       - max texture units reduced to six to accomodate texture rectangles
+       - max texture units reduced to six to accommodate texture rectangles
        - removed unfinished GL_MESA_sprite_point extension code
 </pre>
 
        - removed unfinished GL_MESA_sprite_point extension code
 </pre>
 
index d06b4e62acd6ee190abbefe658052483419bd9e0..839e330cf06d950ee9002c366a19803cc71e8fb9 100644 (file)
@@ -49,7 +49,7 @@ stderr if the LIBGL_DEBUG environment variable is defined.
 libGL.so is thread safe.  The overhead of thread safety for common,
 single-thread clients is negligible.  However, the overhead of thread
 safety for multi-threaded clients is significant.  Each GL API call
 libGL.so is thread safe.  The overhead of thread safety for common,
 single-thread clients is negligible.  However, the overhead of thread
 safety for multi-threaded clients is significant.  Each GL API call
-requires two calls to pthread_get_specific() which can noticably
+requires two calls to pthread_get_specific() which can noticeably
 impact performance.  Warning:  libGL.so is thread safe but individual
 DRI drivers may not be.  Please consult the documentation for a driver
 to learn if it is thread safe.
 impact performance.  Warning:  libGL.so is thread safe but individual
 DRI drivers may not be.  Please consult the documentation for a driver
 to learn if it is thread safe.
index ad7b508648f6f58130029444997670aa8f23219e..ce0dcf033634e7ced5d9d511bf38628cc342ef9b 100644 (file)
@@ -104,7 +104,7 @@ a07b4b6b9eb449b88a6cb5061e51c331  MesaLib-10.0.3.zip
   <li>Add md5sums for 10.0.2. release.</li>
   <li>cherry-ignore: Ignore several patches not yet ready for the stable branch</li>
   <li>Drop another couple of patches.</li>
   <li>Add md5sums for 10.0.2. release.</li>
   <li>cherry-ignore: Ignore several patches not yet ready for the stable branch</li>
   <li>Drop another couple of patches.</li>
-  <li>cherry-ignore: Ignore 4 patches at teh request of the author, (Anuj).</li>
+  <li>cherry-ignore: Ignore 4 patches at the request of the author, (Anuj).</li>
   <li>Update version to 10.0.3</li>
 </ul>
 
   <li>Update version to 10.0.3</li>
 </ul>
 
index a88811e5018165bc7bed1ee21b989de5814dcac3..447465e71e92c48d1f71fd7513907d53f361a3f7 100644 (file)
@@ -1693,7 +1693,7 @@ bc644be551ed585fc4f66c16b64a91c9  MesaGLUT-7.10.tar.gz
   <li>llvmpipe: Special case complementary and identify blend factors in SoA.</li>
   <li>llvmpipe: Make rgb/alpha bland func/factors match, when there is no alpha.</li>
   <li>draw: Prevent clipped vertices overflow.</li>
   <li>llvmpipe: Special case complementary and identify blend factors in SoA.</li>
   <li>llvmpipe: Make rgb/alpha bland func/factors match, when there is no alpha.</li>
   <li>draw: Prevent clipped vertices overflow.</li>
-  <li>draw: Fullfil the new min_lod/max_lod/lod_bias/border_color dynamic state</li>
+  <li>draw: Fulfil the new min_lod/max_lod/lod_bias/border_color dynamic state</li>
   <li>gallivm: Fetch the lod from the dynamic state when min_lod == max_lod.</li>
   <li>gallivm: Remove dead experimental code.</li>
   <li>llvmpipe: Decouple sampler view and sampler state updates.</li>
   <li>gallivm: Fetch the lod from the dynamic state when min_lod == max_lod.</li>
   <li>gallivm: Remove dead experimental code.</li>
   <li>llvmpipe: Decouple sampler view and sampler state updates.</li>
index 30c1817e11fe6ba11e50c46ea6150ac69c922a2a..c7f94c5138f14a69d4e21f4214a8c45f858a8d85 100644 (file)
@@ -150,7 +150,7 @@ New features:
 Changes:
 <ul>
 <li>renamed aux.h as glaux.h (MS-DOS names can't start with aux)
 Changes:
 <ul>
 <li>renamed aux.h as glaux.h (MS-DOS names can't start with aux)
-<li>most filenames are in 8.3 format to accomodate MS-DOS
+<li>most filenames are in 8.3 format to accommodate MS-DOS
 <li>use GLubytes to store arrays of colors instead of GLints
 </ul>
 
 <li>use GLubytes to store arrays of colors instead of GLints
 </ul>
 
@@ -1224,7 +1224,7 @@ Bug fixes:
 </ul>
 Changes:
 <ul>
 </ul>
 Changes:
 <ul>
-<li>max texture units reduced to six to accomodate texture rectangles
+<li>max texture units reduced to six to accommodate texture rectangles
 <li>removed unfinished GL_MESA_sprite_point extension code
 </ul>
 
 <li>removed unfinished GL_MESA_sprite_point extension code
 </ul>
 
index 9e0cacecac1423a1c566e926a63b5f2a5116c44a..0d1b4b3426a64d8216fae8b2af35ce4c3bdca4f2 100644 (file)
@@ -323,7 +323,7 @@ fenced_buffer_remove_locked(struct fenced_manager *fenced_mgr,
 /**
  * Wait for the fence to expire, and remove it from the fenced list.
  *
 /**
  * Wait for the fence to expire, and remove it from the fenced list.
  *
- * This function will release and re-aquire the mutex, so any copy of mutable
+ * This function will release and re-acquire the mutex, so any copy of mutable
  * state must be discarded after calling it.
  */
 static INLINE enum pipe_error
  * state must be discarded after calling it.
  */
 static INLINE enum pipe_error
index 1c578d07842c7cdf5fd5e524e0e5c5ed8fe22fb2..152226f84e2badc994248a76aa01a55b33c826db 100644 (file)
@@ -152,7 +152,7 @@ rbug_connection_write(struct rbug_connection *c, void *to, uint32_t size)
 /**
  * Internal function used by rbug_send_* functions.
  *
 /**
  * Internal function used by rbug_send_* functions.
  *
- * Finish writeing data to the socket.
+ * Finish writing data to the socket.
  * Ups the send_serial and sets the serial argument if supplied.
  */
 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial)
  * Ups the send_serial and sets the serial argument if supplied.
  */
 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial)
index dff51c580c069eda1797dad52ba4e2e7708bdcd6..d134dbb162069ea092c33860de6e90b597bbd397 100644 (file)
@@ -266,7 +266,7 @@ i915_vbuf_render_map_vertices(struct vbuf_render *render)
    struct i915_context *i915 = i915_render->i915;
 
    if (i915->vbo_flushed)
    struct i915_context *i915 = i915_render->i915;
 
    if (i915->vbo_flushed)
-      debug_printf("%s bad vbo flush occured stalling on hw\n", __FUNCTION__);
+      debug_printf("%s bad vbo flush occurred stalling on hw\n", __FUNCTION__);
 
 #ifdef VBUF_MAP_BUFFER
    return (unsigned char *)i915_render->vbo_ptr + i915_render->vbo_sw_offset;
 
 #ifdef VBUF_MAP_BUFFER
    return (unsigned char *)i915_render->vbo_ptr + i915_render->vbo_sw_offset;
index dc8f4d1c903fd6bc7d447ffa2284f715564882ab..8ef73d6f2c25668fcdac73f4032f99d37fd8a2bf 100644 (file)
@@ -452,7 +452,7 @@ i945_texture_layout_2d(struct i915_texture *tex)
 
    tex->stride = align(util_format_get_stride(pt->format, width), 4);
 
 
    tex->stride = align(util_format_get_stride(pt->format, width), 4);
 
-   /* May need to adjust pitch to accomodate the placement of
+   /* May need to adjust pitch to accommodate the placement of
     * the 2nd mipmap level.  This occurs when the alignment
     * constraints of mipmap placement push the right edge of the
     * 2nd mipmap level out past the width of its parent.
     * the 2nd mipmap level.  This occurs when the alignment
     * constraints of mipmap placement push the right edge of the
     * 2nd mipmap level out past the width of its parent.
index cf0f18afe78712752dfd5d9f016f327534ce3ca3..4050cd4ac44f2420f0e65c9f3f5749f5e8f0dd06 100644 (file)
@@ -315,5 +315,5 @@ static void update_dynamic(struct i915_context *i915)
 struct i915_tracked_state i915_hw_dynamic = {
    "dynamic",
    update_dynamic,
 struct i915_tracked_state i915_hw_dynamic = {
    "dynamic",
    update_dynamic,
-   ~0 /* all state atoms, becuase we do internal checking */
+   ~0 /* all state atoms, because we do internal checking */
 };
 };
index 56af11324f63be3b5702cdb0eab8ce49f92d60f8..d244a349fce612329348d24dc0e7d74531beaa60 100644 (file)
@@ -230,5 +230,5 @@ static void update_immediate(struct i915_context *i915)
 struct i915_tracked_state i915_hw_immediate = {
    "immediate",
    update_immediate,
 struct i915_tracked_state i915_hw_immediate = {
    "immediate",
    update_immediate,
-   ~0 /* all state atoms, becuase we do internal checking */
+   ~0 /* all state atoms, because we do internal checking */
 };
 };
index 7019acbda9d8c9cf4ac46f026e1b3eaf6e0c8d52..c726707c0628940d74f34d91f94c3fe2db78e979 100644 (file)
@@ -82,7 +82,7 @@ lp_rast_end( struct lp_rasterizer *rast )
 
 
 /**
 
 
 /**
- * Begining rasterization of a tile.
+ * Beginning rasterization of a tile.
  * \param x  window X position of the tile, in pixels
  * \param y  window Y position of the tile, in pixels
  */
  * \param x  window X position of the tile, in pixels
  * \param y  window Y position of the tile, in pixels
  */
index ad23c2009acf37ff99b3f164184f104b1b29a634..a226ff0c4859579841a1b69064dc017d417740ee 100644 (file)
@@ -63,7 +63,7 @@ struct lp_rast_state;
 #define LP_SCENE_MAX_SIZE (9*1024*1024)
 
 /* The maximum amount of texture storage referenced by a scene is
 #define LP_SCENE_MAX_SIZE (9*1024*1024)
 
 /* The maximum amount of texture storage referenced by a scene is
- * clamped ot this size:
+ * clamped to this size:
  */
 #define LP_SCENE_MAX_RESOURCE_SIZE (64*1024*1024)
 
  */
 #define LP_SCENE_MAX_RESOURCE_SIZE (64*1024*1024)
 
index 42344d0e3ba57979601fcdac6355014d7e03c65f..efb000a0aba4f44cc7b326514725fcc2823cf080 100644 (file)
@@ -49,7 +49,7 @@ void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes);
 
 /**
  * Generic helper for growing an array that has separate size/count
 
 /**
  * Generic helper for growing an array that has separate size/count
- * and reserved counters to accomodate up to num new element.
+ * and reserved counters to accommodate up to num new element.
  *
  *  type * Array;
  *  unsigned int Size;
  *
  *  type * Array;
  *  unsigned int Size;
index ba895239fb69c33a4272f7edba29e6597f106890..7730b937372bab6f9ad76ced78cb4bbb3c2ed274 100644 (file)
@@ -98,7 +98,7 @@ void rc_variable_change_dst(
                                /* Reuse the source index of the source that
                                 * was just deleted and set its register
                                 * index.  We can't use rc_pair_alloc_source
                                /* Reuse the source index of the source that
                                 * was just deleted and set its register
                                 * index.  We can't use rc_pair_alloc_source
-                                * for this becuase it might return a source
+                                * for this because it might return a source
                                 * index that is already being used. */
                                if (src_type & RC_SOURCE_RGB) {
                                        pair_inst->RGB.Src[src_index]
                                 * index that is already being used. */
                                if (src_type & RC_SOURCE_RGB) {
                                        pair_inst->RGB.Src[src_index]
index b632963d187139b1ed0068efebd166defa690980..4c9971e5128c37471f8f17cb4c91ba63f1a651c8 100644 (file)
@@ -694,7 +694,7 @@ static void r300_emit_query_end_frag_pipes(struct r300_context *r300,
             OUT_CS_RELOC(r300->query_current);
         case 2:
             /* pipe 1 only */
             OUT_CS_RELOC(r300->query_current);
         case 2:
             /* pipe 1 only */
-            /* As mentioned above, accomodate RV380 and older. */
+            /* As mentioned above, accommodate RV380 and older. */
             OUT_CS_REG(R300_SU_REG_DEST,
                     1 << (caps->high_second_pipe ? 3 : 1));
             OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 1) * 4);
             OUT_CS_REG(R300_SU_REG_DEST,
                     1 << (caps->high_second_pipe ? 3 : 1));
             OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 1) * 4);
index 8a0728d943053332c257a94eb47518dd4c848e44..9c373c5d1115e5bcde3115cadf825ee3cfc0e0a2 100644 (file)
@@ -1179,7 +1179,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define R300_GA_SOFT_RESET                    0x429c
 
 /* Not sure why there are duplicate of factor and constant values.
 #define R300_GA_SOFT_RESET                    0x429c
 
 /* Not sure why there are duplicate of factor and constant values.
- * My best guess so far is that there are seperate zbiases for test and write.
+ * My best guess so far is that there are separate zbiases for test and write.
  * Ordering might be wrong.
  * Some of the tests indicate that fgl has a fallback implementation of zbias
  * via pixel shaders.
  * Ordering might be wrong.
  * Some of the tests indicate that fgl has a fallback implementation of zbias
  * via pixel shaders.
index adb044cfe5698582c40bf2432ff6d2ea40720067..21f35e15ca272803f180726e3f062a2250e28458 100644 (file)
@@ -48,7 +48,7 @@ struct tgsi_to_rc {
      * until rc grows proper support, indicate if they're safe to use. */
     boolean use_half_swizzles;
 
      * until rc grows proper support, indicate if they're safe to use. */
     boolean use_half_swizzles;
 
-    /* If an error occured. */
+    /* If an error occurred. */
     boolean error;
 };
 
     boolean error;
 };
 
index 63c2906d0cba77c43746c31fa5ff0f313f195821..e2728565489993165926c378adafb0267e634d0d 100644 (file)
@@ -63,7 +63,7 @@ void evergreen_dma_copy_buffer(struct r600_context *rctx,
        r600_need_dma_space(&rctx->b, ncopy * 5);
        for (i = 0; i < ncopy; i++) {
                csize = size < EG_DMA_COPY_MAX_SIZE ? size : EG_DMA_COPY_MAX_SIZE;
        r600_need_dma_space(&rctx->b, ncopy * 5);
        for (i = 0; i < ncopy; i++) {
                csize = size < EG_DMA_COPY_MAX_SIZE ? size : EG_DMA_COPY_MAX_SIZE;
-               /* emit reloc before writting cs so that cs is always in consistent state */
+               /* emit reloc before writing cs so that cs is always in consistent state */
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rsrc, RADEON_USAGE_READ,
                                      RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rdst, RADEON_USAGE_WRITE,
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rsrc, RADEON_USAGE_READ,
                                      RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rdst, RADEON_USAGE_WRITE,
index edd886b96f2a3c4bd6ddc0d0ed53070c7142902b..266e372f35f1682cbb7a9dfc4230a55e62eb1d2c 100644 (file)
@@ -3282,7 +3282,7 @@ static void evergreen_dma_copy_tile(struct r600_context *rctx,
                        cheight = (EG_DMA_COPY_MAX_SIZE * 4) / pitch;
                }
                size = (cheight * pitch) / 4;
                        cheight = (EG_DMA_COPY_MAX_SIZE * 4) / pitch;
                }
                size = (cheight * pitch) / 4;
-               /* emit reloc before writting cs so that cs is always in consistent state */
+               /* emit reloc before writing cs so that cs is always in consistent state */
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rsrc->resource,
                                      RADEON_USAGE_READ, RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rdst->resource,
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rsrc->resource,
                                      RADEON_USAGE_READ, RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rdst->resource,
index 7961a96b67e4a161210d11c7720b01b659d27a83..8eb0c6806b99f53a02e4480f71b1d46517d3485a 100644 (file)
@@ -466,7 +466,7 @@ void r600_dma_copy_buffer(struct r600_context *rctx,
        r600_need_dma_space(&rctx->b, ncopy * 5);
        for (i = 0; i < ncopy; i++) {
                csize = size < R600_DMA_COPY_MAX_SIZE_DW ? size : R600_DMA_COPY_MAX_SIZE_DW;
        r600_need_dma_space(&rctx->b, ncopy * 5);
        for (i = 0; i < ncopy; i++) {
                csize = size < R600_DMA_COPY_MAX_SIZE_DW ? size : R600_DMA_COPY_MAX_SIZE_DW;
-               /* emit reloc before writting cs so that cs is always in consistent state */
+               /* emit reloc before writing cs so that cs is always in consistent state */
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rsrc, RADEON_USAGE_READ,
                                      RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rdst, RADEON_USAGE_WRITE,
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rsrc, RADEON_USAGE_READ,
                                      RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, rdst, RADEON_USAGE_WRITE,
index 30514454f69b96a1b8ae3416beb393154c51b91e..960dfcedfef20ac260a55e241bedfc4e6156b29d 100644 (file)
@@ -2900,7 +2900,7 @@ static boolean r600_dma_copy_tile(struct r600_context *rctx,
        for (i = 0; i < ncopy; i++) {
                cheight = cheight > copy_height ? copy_height : cheight;
                size = (cheight * pitch) / 4;
        for (i = 0; i < ncopy; i++) {
                cheight = cheight > copy_height ? copy_height : cheight;
                size = (cheight * pitch) / 4;
-               /* emit reloc before writting cs so that cs is always in consistent state */
+               /* emit reloc before writing cs so that cs is always in consistent state */
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rsrc->resource, RADEON_USAGE_READ,
                                      RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rdst->resource, RADEON_USAGE_WRITE,
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rsrc->resource, RADEON_USAGE_READ,
                                      RADEON_PRIO_MIN);
                r600_context_bo_reloc(&rctx->b, &rctx->b.rings.dma, &rdst->resource, RADEON_USAGE_WRITE,
index a4778dfb7bf8979dcdf8a48705cf0fd1ea2da1e0..c50c7055851dbd7ce683725575b44b23f919de3a 100644 (file)
@@ -288,9 +288,9 @@ static void r600_bind_dsa_state(struct pipe_context *ctx, void *state)
        if (rctx->zwritemask != dsa->zwritemask) {
                rctx->zwritemask = dsa->zwritemask;
                if (rctx->b.chip_class >= EVERGREEN) {
        if (rctx->zwritemask != dsa->zwritemask) {
                rctx->zwritemask = dsa->zwritemask;
                if (rctx->b.chip_class >= EVERGREEN) {
-                       /* work around some issue when not writting to zbuffer
+                       /* work around some issue when not writing to zbuffer
                         * we are having lockup on evergreen so do not enable
                         * we are having lockup on evergreen so do not enable
-                        * hyperz when not writting zbuffer
+                        * hyperz when not writing zbuffer
                         */
                        rctx->db_misc_state.atom.dirty = true;
                }
                         */
                        rctx->db_misc_state.atom.dirty = true;
                }
index ec649c9c43bd9efd7f12417cc33e82d620f83cc3..bf156f9b42d5dd09a554f4f516f674a072d8ec50 100644 (file)
@@ -1398,7 +1398,7 @@ emit_frag_end(struct vc4_compile *c)
                 }
 
                 /* Save the packed value for logic ops.  Can't reuse r4
                 }
 
                 /* Save the packed value for logic ops.  Can't reuse r4
-                 * becuase other things might smash it (like sRGB)
+                 * because other things might smash it (like sRGB)
                  */
                 packed_dst_color = qir_MOV(c, r4);
         }
                  */
                 packed_dst_color = qir_MOV(c, r4);
         }
index a0ee59c28de2bce441a2d9dcdc9839d67a30e034..2f5e1f5f1a88e399f9a2bf9cfdcd512e601d3e79 100644 (file)
@@ -243,7 +243,7 @@ bits_per_pixel( XMesaVisual xmv )
  * Do this by calling XGetWindowAttributes() for the window and
  * checking if we catch an X error.
  * Input:  dpy - the display
  * Do this by calling XGetWindowAttributes() for the window and
  * checking if we catch an X error.
  * Input:  dpy - the display
- *         win - the window to check for existance
+ *         win - the window to check for existence
  * Return:  GL_TRUE - window exists
  *          GL_FALSE - window doesn't exist
  */
  * Return:  GL_TRUE - window exists
  *          GL_FALSE - window doesn't exist
  */
index 296d6dcd4745ef57ccc8ca277f0fc34941756448..2a85154600026c53588acd74cf1463a1ba0eb0e6 100644 (file)
@@ -182,7 +182,7 @@ NineSwapChain9_Resize( struct NineSwapChain9 *This,
         This->mode = NULL;
     }
 
         This->mode = NULL;
     }
 
-    /* Note: It is the role of the backend to fill if neccessary
+    /* Note: It is the role of the backend to fill if necessary
      * BackBufferWidth and BackBufferHeight */
     ID3DPresent_SetPresentParameters(This->present, pParams, This->mode);
 
      * BackBufferWidth and BackBufferHeight */
     ID3DPresent_SetPresentParameters(This->present, pParams, This->mode);
 
index efc1fdeb19053da10915a3b2e40d342554c016d7..ba36afc9421aea86deb36c4d956e21e9f1838ecc 100644 (file)
@@ -248,7 +248,7 @@ vlVdpGetProcAddress(VdpDevice device, VdpFuncId function_id, void **function_poi
    if (!vlGetFuncFTAB(function_id, function_pointer))
       return VDP_STATUS_INVALID_FUNC_ID;
 
    if (!vlGetFuncFTAB(function_id, function_pointer))
       return VDP_STATUS_INVALID_FUNC_ID;
 
-   VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Got proc adress %p for id %d\n", *function_pointer, function_id);
+   VDPAU_MSG(VDPAU_TRACE, "[VDPAU] Got proc address %p for id %d\n", *function_pointer, function_id);
 
    return VDP_STATUS_OK;
 }
 
    return VDP_STATUS_OK;
 }
index 2b7d173af1a0e6240ffea09f5306bb40f8c20deb..28962c8cbd5e144290b92697448bd036a1eb00c1 100644 (file)
@@ -101,7 +101,7 @@ struct stw_framebuffer
     * acquiring the stw_framebuffer::mutex of the framebuffer to be deleted. 
     * This ensures that nobody else is reading/writing to the.
     * 
     * acquiring the stw_framebuffer::mutex of the framebuffer to be deleted. 
     * This ensures that nobody else is reading/writing to the.
     * 
-    * It is not necessary to aquire the mutex above to navigate the linked list
+    * It is not necessary to acquire the mutex above to navigate the linked list
     * given that deletions are done with stw_device::fb_mutex held, so no other
     * thread can delete.
     */
     * given that deletions are done with stw_device::fb_mutex held, so no other
     * thread can delete.
     */
index 888aebb2bdc93e3f1926b6587f1082a42b75a11d..b17dabc6ce56e353609697786d403e5d9f04ecd1 100644 (file)
@@ -286,7 +286,7 @@ fenced_buffer_remove_locked(struct fenced_manager *fenced_mgr,
 /**
  * Wait for the fence to expire, and remove it from the fenced list.
  *
 /**
  * Wait for the fence to expire, and remove it from the fenced list.
  *
- * This function will release and re-aquire the mutex, so any copy of mutable
+ * This function will release and re-acquire the mutex, so any copy of mutable
  * state must be discarded after calling it.
  */
 static INLINE enum pipe_error
  * state must be discarded after calling it.
  */
 static INLINE enum pipe_error
@@ -321,7 +321,7 @@ fenced_buffer_finish_locked(struct fenced_manager *fenced_mgr,
       /*
        * Only proceed if the fence object didn't change in the meanwhile.
        * Otherwise assume the work has been already carried out by another
       /*
        * Only proceed if the fence object didn't change in the meanwhile.
        * Otherwise assume the work has been already carried out by another
-       * thread that re-aquired the lock before us.
+       * thread that re-acquired the lock before us.
        */
       proceed = fence == fenced_buf->fence ? TRUE : FALSE;
 
        */
       proceed = fence == fenced_buf->fence ? TRUE : FALSE;
 
index 87df93e684ea4cc92c45c5a0793ef2cb17636764..758361324e3673db47b6133748c5c22612bada32 100644 (file)
@@ -1191,7 +1191,7 @@ emit_inline_matrix_constructor(const glsl_type *type,
     *
     *  - Construct a matrix from an arbirary combination of vectors and
     *    scalars.  The components of the constructor parameters are assigned
     *
     *  - Construct a matrix from an arbirary combination of vectors and
     *    scalars.  The components of the constructor parameters are assigned
-    *    to the matrix in colum-major order until the matrix is full.
+    *    to the matrix in column-major order until the matrix is full.
     *
     *  - Construct a matrix from a single matrix.  The source matrix is copied
     *    to the upper left portion of the constructed matrix, and the remaining
     *
     *  - Construct a matrix from a single matrix.  The source matrix is copied
     *    to the upper left portion of the constructed matrix, and the remaining
index c2f5223a9cb8391e22dbbbc15bd952ce85b0d704..cfceca66bf5d25c42788ac6780c3e4892667155a 100644 (file)
@@ -1463,7 +1463,7 @@ _arguments_parse (argument_list_t *arguments,
                else {
                        if (argument->head == NULL) {
                                /* Don't treat initial whitespace as
                else {
                        if (argument->head == NULL) {
                                /* Don't treat initial whitespace as
-                                * part of the arguement. */
+                                * part of the argument. */
                                if (node->token->type == SPACE)
                                        continue;
                        }
                                if (node->token->type == SPACE)
                                        continue;
                        }
index 59adc298b913fe3fe0dfceb6f5c956c3c1d7bcbb..d5ca23a385a7a846f952d23d316d2c05f814b604 100644 (file)
@@ -274,7 +274,7 @@ namespace {
  *
  * As uniforms are added to the active set the number of active uniforms and
  * the storage requirements for those uniforms are accumulated.  The active
  *
  * As uniforms are added to the active set the number of active uniforms and
  * the storage requirements for those uniforms are accumulated.  The active
- * uniforms are added the the hash table supplied to the constructor.
+ * uniforms are added to the hash table supplied to the constructor.
  *
  * If the same uniform is added multiple times (i.e., once for each shader
  * target), it will only be accounted once.
  *
  * If the same uniform is added multiple times (i.e., once for each shader
  * target), it will only be accounted once.
index db73c7b0fc222804b9d5ef9c7a060b8f58057890..a6fb8a8837ede94ff16b83fd7670b308d4b78ef1 100644 (file)
@@ -569,8 +569,8 @@ private:
        *     return pack_uvec2_to_uint(uvec2(
        *                round(clamp(VEC2_RVALUE, 0.0f, 1.0f) * 65535.0f)));
        *
        *     return pack_uvec2_to_uint(uvec2(
        *                round(clamp(VEC2_RVALUE, 0.0f, 1.0f) * 65535.0f)));
        *
-       * Here it is safe to directly convert the vec2 to uvec2 because the the
-       * vec2 has been clamped to a non-negative range.
+       * Here it is safe to directly convert the vec2 to uvec2 because the vec2
+       * has been clamped to a non-negative range.
        */
 
       assert(vec2_rval->type == glsl_type::vec2_type);
        */
 
       assert(vec2_rval->type == glsl_type::vec2_type);
@@ -613,8 +613,8 @@ private:
        *     return pack_uvec4_to_uint(uvec4(
        *                round(clamp(VEC2_RVALUE, 0.0f, 1.0f) * 255.0f)));
        *
        *     return pack_uvec4_to_uint(uvec4(
        *                round(clamp(VEC2_RVALUE, 0.0f, 1.0f) * 255.0f)));
        *
-       * Here it is safe to directly convert the vec4 to uvec4 because the the
-       * vec4 has been clamped to a non-negative range.
+       * Here it is safe to directly convert the vec4 to uvec4 because the vec4
+       * has been clamped to a non-negative range.
        */
 
       assert(vec4_rval->type == glsl_type::vec4_type);
        */
 
       assert(vec4_rval->type == glsl_type::vec4_type);
index 184698abd5cf0d92abd8b322bf25892a37aef4a3..6a3b141bd3f0e9b7d87db800c9edca47e5b5b09b 100644 (file)
@@ -642,7 +642,7 @@ emit_copy(nir_parallel_copy_instr *pcopy, nir_src src, nir_src dest_src,
  *
  * The algorithm works by playing this little shell game with the values.
  * We start by recording where every source value is and which source value
  *
  * The algorithm works by playing this little shell game with the values.
  * We start by recording where every source value is and which source value
- * each destination value should recieve.  We then grab any copy whose
+ * each destination value should receive.  We then grab any copy whose
  * destination is "empty", i.e. not used as a source, and do the following:
  *  - Find where its source value currently lives
  *  - Emit the move instruction
  * destination is "empty", i.e. not used as a source, and do the following:
  *  - Find where its source value currently lives
  *  - Emit the move instruction
index 50c8aa763effbb8ec8dd1d6941c1057802725adc..92f20c71d81c5d7b1378006f2ce32b6e9453e785 100644 (file)
@@ -35,7 +35,7 @@
  * the built-in varyings have pre-assigned locations. Also, the elimination
  * of unused gl_TexCoord elements requires its own lowering pass anyway.
  *
  * the built-in varyings have pre-assigned locations. Also, the elimination
  * of unused gl_TexCoord elements requires its own lowering pass anyway.
  *
- * It's implemented by replacing all occurences of dead varyings with
+ * It's implemented by replacing all occurrences of dead varyings with
  * temporary variables, which creates dead code. It is recommended to run
  * a dead-code elimination pass after this.
  *
  * temporary variables, which creates dead code. It is recommended to run
  * a dead-code elimination pass after this.
  *
@@ -280,7 +280,7 @@ public:
        *
        * We're going to break down the gl_TexCoord array into separate
        * variables. First, add declarations of the new variables all
        *
        * We're going to break down the gl_TexCoord array into separate
        * variables. First, add declarations of the new variables all
-       * occurences of gl_TexCoord will be replaced with.
+       * occurrences of gl_TexCoord will be replaced with.
        */
       if (info->lower_texcoord_array) {
          prepare_array(ir, this->new_texcoord, ARRAY_SIZE(this->new_texcoord),
        */
       if (info->lower_texcoord_array) {
          prepare_array(ir, this->new_texcoord, ARRAY_SIZE(this->new_texcoord),
@@ -411,7 +411,7 @@ public:
        * variable dereference representing gl_TexCoord[i].
        */
       if (this->info->lower_texcoord_array) {
        * variable dereference representing gl_TexCoord[i].
        */
       if (this->info->lower_texcoord_array) {
-         /* gl_TexCoord[i] occurence */
+         /* gl_TexCoord[i] occurrence */
          ir_dereference_array *const da = (*rvalue)->as_dereference_array();
 
          if (da && da->variable_referenced() ==
          ir_dereference_array *const da = (*rvalue)->as_dereference_array();
 
          if (da && da->variable_referenced() ==
@@ -425,7 +425,7 @@ public:
 
       /* Same for gl_FragData. */
       if (this->info->lower_fragdata_array) {
 
       /* Same for gl_FragData. */
       if (this->info->lower_fragdata_array) {
-         /* gl_FragData[i] occurence */
+         /* gl_FragData[i] occurrence */
          ir_dereference_array *const da = (*rvalue)->as_dereference_array();
 
          if (da && da->variable_referenced() == this->info->fragdata_array) {
          ir_dereference_array *const da = (*rvalue)->as_dereference_array();
 
          if (da && da->variable_referenced() == this->info->fragdata_array) {
index 64b4907bab95a3fa81170b93f5bca4c03dd9c94c..84a9e4fa0933d910bea5da697e272ea9e1af5b53 100644 (file)
@@ -130,7 +130,7 @@ ir_call::generate_inline(ir_instruction *next_ir)
         parameters[i] = sig_param->clone(ctx, ht);
         parameters[i]->data.mode = ir_var_auto;
 
         parameters[i] = sig_param->clone(ctx, ht);
         parameters[i]->data.mode = ir_var_auto;
 
-        /* Remove the read-only decoration becuase we're going to write
+        /* Remove the read-only decoration because we're going to write
          * directly to this variable.  If the cloned variable is left
          * read-only and the inlined function is inside a loop, the loop
          * analysis code will get confused.
          * directly to this variable.  If the cloned variable is left
          * read-only and the inlined function is inside a loop, the loop
          * analysis code will get confused.
index b39fb2053886fddfe579c1f40be95e5a8ca53aa8..885ec93db5520486b323f0d0b892492b2ffa1582 100644 (file)
@@ -440,7 +440,7 @@ XF86DRIDestroyDrawable(Display * dpy, int screen, XID drawable)
     *     destroyDrawable(drawable);
     *
     * which is a textbook race condition - the window may disappear
     *     destroyDrawable(drawable);
     *
     * which is a textbook race condition - the window may disappear
-    * from the server between checking for its existance and
+    * from the server between checking for its existence and
     * destroying it.  Instead we change the semantics of
     * __DRIinterfaceMethodsRec::destroyDrawable() to succeed even if
     * the windows is gone, by wrapping the destroy call in an error
     * destroying it.  Instead we change the semantics of
     * __DRIinterfaceMethodsRec::destroyDrawable() to succeed even if
     * the windows is gone, by wrapping the destroy call in an error
index 3b570882572f198f0df8ef2855eed236c497f23e..a08c205eb96d08cdd1dbf9df17a4ff4d8ca0e7d2 100644 (file)
@@ -93,7 +93,7 @@ apple_glx_get_client_id(void)
    return id;
 }
 
    return id;
 }
 
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
 bool
 apple_init_glx(Display * dpy)
 {
 bool
 apple_init_glx(Display * dpy)
 {
index 8a6ded28aa2fa405c9f31ed7ddc52d84ad847226..5650b4f329180853243600436ecf4446cee54ce1 100644 (file)
@@ -278,7 +278,7 @@ apple_glx_destroy_context(void **ptr, Display * dpy)
 }
 
 
 }
 
 
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
 bool
 apple_glx_make_current_context(Display * dpy, void *oldptr, void *ptr,
                                GLXDrawable drawable)
 bool
 apple_glx_make_current_context(Display * dpy, void *oldptr, void *ptr,
                                GLXDrawable drawable)
index 915520286b07b0167ed11d82901affd61b5b9393..51583bb40bc582ba14b52e6a1a00a4e2939a78fb 100644 (file)
@@ -124,7 +124,7 @@ surface_destroy(Display * dpy, struct apple_glx_drawable *d)
    }
 }
 
    }
 }
 
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
 static bool
 create_surface(Display * dpy, int screen, struct apple_glx_drawable *d)
 {
 static bool
 create_surface(Display * dpy, int screen, struct apple_glx_drawable *d)
 {
@@ -158,7 +158,7 @@ create_surface(Display * dpy, int screen, struct apple_glx_drawable *d)
    return true;                 /* unable to create a surface. */
 }
 
    return true;                 /* unable to create a surface. */
 }
 
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
 /* This returns a referenced object via resultptr. */
 bool
 apple_glx_surface_create(Display * dpy, int screen,
 /* This returns a referenced object via resultptr. */
 bool
 apple_glx_surface_create(Display * dpy, int screen,
index f4f476e10b0412ccff945060bd982fbfac32e2fd..26ff804297fee6ff817f0af1aa2d437b91f1e7c1 100644 (file)
@@ -496,7 +496,7 @@ glXQueryVersion(Display * dpy, int *major, int *minor)
 }
 
 /*
 }
 
 /*
-** Query the existance of the GLX extension
+** Query the existence of the GLX extension
 */
 _X_EXPORT Bool
 glXQueryExtension(Display * dpy, int *errorBase, int *eventBase)
 */
 _X_EXPORT Bool
 glXQueryExtension(Display * dpy, int *errorBase, int *eventBase)
index 0025cbbd078135110c2bf3622f7f0676d4fe77dd..2bf2ff1bdb6bf7263b567d531efbfdc158578fcd 100644 (file)
@@ -281,7 +281,7 @@ __glXInitVertexArrayState(struct glx_context * gc)
    i += vertex_program_attribs;
 
 
    i += vertex_program_attribs;
 
 
-   /* Vertex array *must* be last becuase of the way that
+   /* Vertex array *must* be last because of the way that
     * emit_DrawArrays_none works.
     */
 
     * emit_DrawArrays_none works.
     */
 
index 54f51ad7fd825ec02fda01c7310c51921de4dc13..2a1bf06bc0abcb4d3987b54369c3bbb21abaea78 100644 (file)
@@ -330,7 +330,7 @@ __indirect_glGetBooleanv(GLenum val, GLboolean * b)
 
    if (compsize == 0) {
       /*
 
    if (compsize == 0) {
       /*
-       ** Error occured; don't modify user's buffer.
+       ** Error occurred; don't modify user's buffer.
        */
    }
    else {
        */
    }
    else {
@@ -381,7 +381,7 @@ __indirect_glGetDoublev(GLenum val, GLdouble * d)
 
    if (compsize == 0) {
       /*
 
    if (compsize == 0) {
       /*
-       ** Error occured; don't modify user's buffer.
+       ** Error occurred; don't modify user's buffer.
        */
    }
    else {
        */
    }
    else {
@@ -432,7 +432,7 @@ __indirect_glGetFloatv(GLenum val, GLfloat * f)
 
    if (compsize == 0) {
       /*
 
    if (compsize == 0) {
       /*
-       ** Error occured; don't modify user's buffer.
+       ** Error occurred; don't modify user's buffer.
        */
    }
    else {
        */
    }
    else {
@@ -483,7 +483,7 @@ __indirect_glGetIntegerv(GLenum val, GLint * i)
 
    if (compsize == 0) {
       /*
 
    if (compsize == 0) {
       /*
-       ** Error occured; don't modify user's buffer.
+       ** Error occurred; don't modify user's buffer.
        */
    }
    else {
        */
    }
    else {
@@ -588,7 +588,7 @@ __indirect_glRenderMode(GLenum mode)
    if (reply.newMode != mode) {
       /*
        ** Switch to new mode did not take effect, therefore an error
    if (reply.newMode != mode) {
       /*
        ** Switch to new mode did not take effect, therefore an error
-       ** occured.  When an error happens the server won't send us any
+       ** occurred.  When an error happens the server won't send us any
        ** other data.
        */
    }
        ** other data.
        */
    }
index 7a13b4b0de6083bbfe6963f8c0ed16e27de77012..184450686c515b09fade500e9b6bdc6284bc8a33 100644 (file)
@@ -192,7 +192,7 @@ class GTEST_API_ FilePath {
 
   void Normalize();
 
 
   void Normalize();
 
-  // Returns a pointer to the last occurence of a valid path separator in
+  // Returns a pointer to the last occurrence of a valid path separator in
   // the FilePath. On Windows, for example, both '/' and '\' are valid path
   // separators. Returns NULL if no path separator was found.
   const char* FindLastPathSeparator() const;
   // the FilePath. On Windows, for example, both '/' and '\' are valid path
   // separators. Returns NULL if no path separator was found.
   const char* FindLastPathSeparator() const;
index 6be58b6fca2efebbcfc56f9d253e442cd863d868..7e0d663faf033f12a87857b6e6d7f629cc28738e 100644 (file)
@@ -125,7 +125,7 @@ FilePath FilePath::RemoveExtension(const char* extension) const {
   return *this;
 }
 
   return *this;
 }
 
-// Returns a pointer to the last occurence of a valid path separator in
+// Returns a pointer to the last occurrence of a valid path separator in
 // the FilePath. On Windows, for example, both '/' and '\' are valid path
 // separators. Returns NULL if no path separator was found.
 const char* FilePath::FindLastPathSeparator() const {
 // the FilePath. On Windows, for example, both '/' and '\' are valid path
 // separators. Returns NULL if no path separator was found.
 const char* FilePath::FindLastPathSeparator() const {
index fa57950de2cc80b8a1f8b83ba364f198e2bd5f70..810e7da7f9f280ff78a15e933b7be5ab6a0291fd 100644 (file)
@@ -43,7 +43,7 @@ loader_get_device_name_for_fd(int fd);
 
 /* Function to get a different device than the one we are to use by default,
  * if the user requests so and it is possible. The initial fd will be closed
 
 /* Function to get a different device than the one we are to use by default,
  * if the user requests so and it is possible. The initial fd will be closed
- * if neccessary. The returned fd is potentially a render-node.
+ * if necessary. The returned fd is potentially a render-node.
  */
 
 int
  */
 
 int
index 1419a7cc1bc44444754dabf174ee652fefc19027..b93989f753a5c6c0398ebbb436496360a5d3adef 100644 (file)
@@ -574,7 +574,7 @@ generic_%u_byte( GLint rop, const void * ptr )
         print '    struct glx_context * const gc = __glXGetCurrentContext();'
 
         # The only reason that single and vendor private commands need
         print '    struct glx_context * const gc = __glXGetCurrentContext();'
 
         # The only reason that single and vendor private commands need
-        # a variable called 'dpy' is becuase they use the SyncHandle
+        # a variable called 'dpy' is because they use the SyncHandle
         # macro.  For whatever brain-dead reason, that macro is hard-
         # coded to use a variable called 'dpy' instead of taking a
         # parameter.
         # macro.  For whatever brain-dead reason, that macro is hard-
         # coded to use a variable called 'dpy' instead of taking a
         # parameter.
index fdb355d4d844eebf03856200b7c8f08d7b88e560..4737fbf717dc52e842da7163594fa374cf49c2fa 100644 (file)
@@ -57,7 +57,7 @@ class glx_enum_function(object):
         # Fill self.count and self.enums using the dictionary of enums
         # that was passed in.  The generic Get functions (e.g.,
         # GetBooleanv and friends) are handled specially here.  In
         # Fill self.count and self.enums using the dictionary of enums
         # that was passed in.  The generic Get functions (e.g.,
         # GetBooleanv and friends) are handled specially here.  In
-        # the data the generic Get functions are refered to as "Get".
+        # the data the generic Get functions are referred to as "Get".
 
         if func_name in ["GetIntegerv", "GetBooleanv", "GetFloatv", "GetDoublev"]:
             match_name = "Get"
 
         if func_name in ["GetIntegerv", "GetBooleanv", "GetFloatv", "GetDoublev"]:
             match_name = "Get"
index 5a69e0343b2bdb36d23bc57edc1503ab126decab..7afc2b108f954669068a61992ac0b4639c18a069 100644 (file)
@@ -187,7 +187,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
 
         # The x86-64 ABI divides function parameters into a couple
         # classes.  For the OpenGL interface, the only ones that are
 
         # The x86-64 ABI divides function parameters into a couple
         # classes.  For the OpenGL interface, the only ones that are
-        # relevent are INTEGER and SSE.  Basically, the first 8
+        # relevant are INTEGER and SSE.  Basically, the first 8
         # GLfloat or GLdouble parameters are placed in %xmm0 - %xmm7,
         # the first 6 non-GLfloat / non-GLdouble parameters are placed
         # in registers listed in int_parameters.
         # GLfloat or GLdouble parameters are placed in %xmm0 - %xmm7,
         # the first 6 non-GLfloat / non-GLdouble parameters are placed
         # in registers listed in int_parameters.
index 13adf56083598b8b1c1368fc64cfe3b88a41f485..ea54e2b25b12b43fb665168a3af1f1990e35afac 100644 (file)
@@ -219,9 +219,9 @@ i830AlphaFunc(struct gl_context * ctx, GLenum func, GLfloat ref)
 }
 
 /**
 }
 
 /**
- * Makes sure that the proper enables are set for LogicOp, Independant Alpha
+ * Makes sure that the proper enables are set for LogicOp, Independent Alpha
  * Blend, and Blending.  It needs to be called from numerous places where we
  * Blend, and Blending.  It needs to be called from numerous places where we
- * could change the LogicOp or Independant Alpha Blend without subsequent
+ * could change the LogicOp or Independent Alpha Blend without subsequent
  * calls to glEnable.
  * 
  * \todo
  * calls to glEnable.
  * 
  * \todo
@@ -369,7 +369,7 @@ i830_set_blend_state(struct gl_context * ctx)
    }
 
    /* This will catch a logicop blend equation.  It will also ensure
    }
 
    /* This will catch a logicop blend equation.  It will also ensure
-    * independant alpha blend is really in the correct state (either enabled
+    * independent alpha blend is really in the correct state (either enabled
     * or disabled) if blending is already enabled.
     */
 
     * or disabled) if blending is already enabled.
     */
 
index f12bf8af991f3a8838ab0dbd1a1c05d66aac4aa0..5f10b840b1abdc8606856bc05098d500dc6c8c2e 100644 (file)
@@ -197,9 +197,9 @@ i915AlphaFunc(struct gl_context * ctx, GLenum func, GLfloat ref)
 }
 
 /* This function makes sure that the proper enables are
 }
 
 /* This function makes sure that the proper enables are
- * set for LogicOp, Independant Alpha Blend, and Blending.
+ * set for LogicOp, Independent Alpha Blend, and Blending.
  * It needs to be called from numerous places where we
  * It needs to be called from numerous places where we
- * could change the LogicOp or Independant Alpha Blend without subsequent
+ * could change the LogicOp or Independent Alpha Blend without subsequent
  * calls to glEnable.
  */
 static void
  * calls to glEnable.
  */
 static void
index 1bbd58fbfd44bbe4a6cd6b460da6d5a449e03b59..350d35d903322e1d779eec4af124c9ce60f34431 100644 (file)
@@ -248,7 +248,7 @@ struct intel_context
    intel_tri_func draw_tri;
 
    /**
    intel_tri_func draw_tri;
 
    /**
-    * Set if rendering has occured to the drawable's front buffer.
+    * Set if rendering has occurred to the drawable's front buffer.
     *
     * This is used in the DRI2 case to detect that glFlush should also copy
     * the contents of the fake front buffer to the real front buffer.
     *
     * This is used in the DRI2 case to detect that glFlush should also copy
     * the contents of the fake front buffer to the real front buffer.
index 647a2f8b31f99e55753a99092725ae9400cbb2fd..01ea165c7562974acfa6efd60392ddf929a3ac9b 100644 (file)
@@ -136,7 +136,7 @@ void i945_miptree_layout_2d(struct intel_mipmap_tree *mt)
        mt->total_width = ALIGN(mt->physical_width0, mt->align_w);
    }
 
        mt->total_width = ALIGN(mt->physical_width0, mt->align_w);
    }
 
-   /* May need to adjust width to accomodate the placement of
+   /* May need to adjust width to accommodate the placement of
     * the 2nd mipmap.  This occurs when the alignment
     * constraints of mipmap placement push the right edge of the
     * 2nd mipmap out past the width of its parent.
     * the 2nd mipmap.  This occurs when the alignment
     * constraints of mipmap placement push the right edge of the
     * 2nd mipmap out past the width of its parent.
index 8fe1c0afa03317256f78fccb70a06d871aa770ee..6baf620a1a7782f481430b89b4907ea99fdd04d3 100644 (file)
@@ -135,9 +135,9 @@ static void copy_bfc( struct brw_clip_compile *c )
          brw_clip_have_varying(c, VARYING_SLOT_BFC1)))
       return;
 
          brw_clip_have_varying(c, VARYING_SLOT_BFC1)))
       return;
 
-   /* In some wierd degnerate cases we can end up testing the
+   /* In some weird degenerate cases we can end up testing the
     * direction twice, once for culling and once for bfc copying.  Oh
     * direction twice, once for culling and once for bfc copying.  Oh
-    * well, that's what you get for setting wierd GL state.
+    * well, that's what you get for setting weird GL state.
     */
    if (c->key.copy_bfc_ccw)
       conditional = BRW_CONDITIONAL_GE;
     */
    if (c->key.copy_bfc_ccw)
       conditional = BRW_CONDITIONAL_GE;
@@ -278,7 +278,7 @@ static void emit_lines(struct brw_clip_compile *c,
    struct brw_indirect v0ptr = brw_indirect(2, 0);
    struct brw_indirect v1ptr = brw_indirect(3, 0);
 
    struct brw_indirect v0ptr = brw_indirect(2, 0);
    struct brw_indirect v1ptr = brw_indirect(3, 0);
 
-   /* Need a seperate loop for offset:
+   /* Need a separate loop for offset:
     */
    if (do_offset) {
       brw_MOV(p, c->reg.loopcount, c->reg.nr_verts);
     */
    if (do_offset) {
       brw_MOV(p, c->reg.loopcount, c->reg.nr_verts);
index b7c48014594ff638b526ece43cdfce0dc79e6030..40ad14402a78a5effeb42c8689010d099ae0a341 100644 (file)
@@ -336,10 +336,10 @@ void brw_clip_emit_vue(struct brw_clip_compile *c,
    brw_MOV(p, get_element_ud(c->reg.R0, 2), brw_imm_ud(header));
 
 
    brw_MOV(p, get_element_ud(c->reg.R0, 2), brw_imm_ud(header));
 
 
-   /* Send each vertex as a seperate write to the urb.  This
+   /* Send each vertex as a separate write to the urb.  This
     * is different to the concept in brw_sf_emit.c, where
     * subsequent writes are used to build up a single urb
     * is different to the concept in brw_sf_emit.c, where
     * subsequent writes are used to build up a single urb
-    * entry.  Each of these writes instantiates a seperate
+    * entry.  Each of these writes instantiates a separate
     * urb entry - (I think... what about 'allocate'?)
     */
    brw_urb_WRITE(p,
     * urb entry - (I think... what about 'allocate'?)
     */
    brw_urb_WRITE(p,
index 9d903609a8b578ae9c5e60a9099d9f41e12129aa..0f2f9ad7d341d442265a2691ea9232333fefd0c1 100644 (file)
@@ -599,7 +599,7 @@ brw_initialize_context_constants(struct brw_context *brw)
       ctx->Const.MaxViewports = GEN7_NUM_VIEWPORTS;
       ctx->Const.ViewportSubpixelBits = 0;
 
       ctx->Const.MaxViewports = GEN7_NUM_VIEWPORTS;
       ctx->Const.ViewportSubpixelBits = 0;
 
-      /* Cast to float before negating becuase MaxViewportWidth is unsigned.
+      /* Cast to float before negating because MaxViewportWidth is unsigned.
        */
       ctx->Const.ViewportBounds.Min = -(float)ctx->Const.MaxViewportWidth;
       ctx->Const.ViewportBounds.Max = ctx->Const.MaxViewportWidth;
        */
       ctx->Const.ViewportBounds.Min = -(float)ctx->Const.MaxViewportWidth;
       ctx->Const.ViewportBounds.Max = ctx->Const.MaxViewportWidth;
@@ -974,7 +974,7 @@ intelUnbindContext(__DRIcontext * driContextPriv)
  * sRGB encode if the renderbuffer can handle it.  You can ask specifically
  * for a visual where you're guaranteed to be capable, but it turns out that
  * everyone just makes all their ARGB8888 visuals capable and doesn't offer
  * sRGB encode if the renderbuffer can handle it.  You can ask specifically
  * for a visual where you're guaranteed to be capable, but it turns out that
  * everyone just makes all their ARGB8888 visuals capable and doesn't offer
- * incapable ones, becuase there's no difference between the two in resources
+ * incapable ones, because there's no difference between the two in resources
  * used.  Applications thus get built that accidentally rely on the default
  * visual choice being sRGB, so we make ours sRGB capable.  Everything sounds
  * great...
  * used.  Applications thus get built that accidentally rely on the default
  * visual choice being sRGB, so we make ours sRGB capable.  Everything sounds
  * great...
index d4b7b556de0956596dedbfb7cd9d2e15f34f80a1..8db1028d9fb95b0c0d340103404f9b67c8481371 100644 (file)
@@ -1028,7 +1028,7 @@ struct brw_context
     * Number of resets observed in the system at context creation.
     *
     * This is tracked in the context so that we can determine that another
     * Number of resets observed in the system at context creation.
     *
     * This is tracked in the context so that we can determine that another
-    * reset has occured.
+    * reset has occurred.
     */
    uint32_t reset_count;
 
     */
    uint32_t reset_count;
 
@@ -1041,7 +1041,7 @@ struct brw_context
    } upload;
 
    /**
    } upload;
 
    /**
-    * Set if rendering has occured to the drawable's front buffer.
+    * Set if rendering has occurred to the drawable's front buffer.
     *
     * This is used in the DRI2 case to detect that glFlush should also copy
     * the contents of the fake front buffer to the real front buffer.
     *
     * This is used in the DRI2 case to detect that glFlush should also copy
     * the contents of the fake front buffer to the real front buffer.
index 26b433bddbdd75c9e4eea15186ad9ad3368a9e79..1ffd332f57e24ec464d627f54865044c38e73e62 100644 (file)
@@ -1287,7 +1287,7 @@ get_inner_do_insn(struct brw_codegen *p)
  *
  * When the matching 'else' instruction is reached (presumably by
  * countdown of the instruction count patched in by our ELSE/ENDIF
  *
  * When the matching 'else' instruction is reached (presumably by
  * countdown of the instruction count patched in by our ELSE/ENDIF
- * functions), the relevent flags are inverted.
+ * functions), the relevant flags are inverted.
  *
  * When the matching 'endif' instruction is reached, the flags are
  * popped off.  If the stack is now empty, normal execution resumes.
  *
  * When the matching 'endif' instruction is reached, the flags are
  * popped off.  If the stack is now empty, normal execution resumes.
@@ -1559,7 +1559,7 @@ brw_ENDIF(struct brw_codegen *p)
       emit_endif = false;
 
    /*
       emit_endif = false;
 
    /*
-    * A single next_insn() may change the base adress of instruction store
+    * A single next_insn() may change the base address of instruction store
     * memory(p->store), so call it first before referencing the instruction
     * store pointer from an index
     */
     * memory(p->store), so call it first before referencing the instruction
     * store pointer from an index
     */
index d1ac3ed53b1aae937e4e3eac8e84718cd89de914..274040b1c3e507ed272bd79a7d009cb99d51f5bb 100644 (file)
@@ -205,7 +205,7 @@ brw_miptree_layout_2d(struct intel_mipmap_tree *mt)
        mt->total_width = ALIGN(mt->physical_width0, mt->align_w);
    }
 
        mt->total_width = ALIGN(mt->physical_width0, mt->align_w);
    }
 
-   /* May need to adjust width to accomodate the placement of
+   /* May need to adjust width to accommodate the placement of
     * the 2nd mipmap.  This occurs when the alignment
     * constraints of mipmap placement push the right edge of the
     * 2nd mipmap out past the width of its parent.
     * the 2nd mipmap.  This occurs when the alignment
     * constraints of mipmap placement push the right edge of the
     * 2nd mipmap out past the width of its parent.
index 28a4aa43d83b8f26a09265e813424a1e0ded7a46..0cd439046b38796902fac3fa530514a4bda8126c 100644 (file)
@@ -210,7 +210,7 @@ brw_upload_wm_unit(struct brw_context *brw)
    /* _NEW_POLYGON */
    if (ctx->Polygon.OffsetFill) {
       wm->wm5.depth_offset = 1;
    /* _NEW_POLYGON */
    if (ctx->Polygon.OffsetFill) {
       wm->wm5.depth_offset = 1;
-      /* Something wierd going on with legacy_global_depth_bias,
+      /* Something weird going on with legacy_global_depth_bias,
        * offset_constant, scaling and MRD.  This value passes glean
        * but gives some odd results elsewere (eg. the
        * quad-offset-units test).
        * offset_constant, scaling and MRD.  This value passes glean
        * but gives some odd results elsewere (eg. the
        * quad-offset-units test).
index 3f99df9dd9112bb153225cc3f92c95a6c2e2e55f..aec4f44bb73e19dc07da6747d45ae7f110ae8ee1 100644 (file)
@@ -164,7 +164,7 @@ gen7_upload_3dstate_so_decl_list(struct brw_context *brw,
        * for fake "hole" components, rather than simply taking the offset
        * for each real varying.  Each hole can have size 1, 2, 3, or 4; we
        * program as many size = 4 holes as we can, then a final hole to
        * for fake "hole" components, rather than simply taking the offset
        * for each real varying.  Each hole can have size 1, 2, 3, or 4; we
        * program as many size = 4 holes as we can, then a final hole to
-       * accomodate the final 1, 2, or 3 remaining.
+       * accommodate the final 1, 2, or 3 remaining.
        */
       int skip_components =
          linked_xfb_info->Outputs[i].DstOffset - next_offset[buffer];
        */
       int skip_components =
          linked_xfb_info->Outputs[i].DstOffset - next_offset[buffer];
index 4c1f1ac698e0e053b0846cdbe93600a8c73cc707..25a9dd376829ecdc8f620fd108776d167a2c4a10 100644 (file)
@@ -78,7 +78,7 @@ do {                                          \
       rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
 } while (0)
 
       rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
 } while (0)
 
-/* Can accomodate several state changes and primitive changes without
+/* Can accommodate several state changes and primitive changes without
  * actually firing the buffer.
  */
 #define R200_STATECHANGE( rmesa, ATOM )                        \
  * actually firing the buffer.
  */
 #define R200_STATECHANGE( rmesa, ATOM )                        \
index cc13ccb4d657f1742bc788f953470d2c671191ad..ab84d1752ba39f0cf3504e7b718e9091b91f08bb 100644 (file)
@@ -1453,7 +1453,7 @@ static void setup_hardware_state(r200ContextPtr rmesa, radeonTexObj *t)
        */
       t->pp_txformat_x |= R200_TEXCOORD_PROJ;
    }
        */
       t->pp_txformat_x |= R200_TEXCOORD_PROJ;
    }
-   /* FIXME: NPOT sizes, Is it correct realy? */
+   /* FIXME: NPOT sizes, is it correct really? */
    t->pp_txsize = (((firstImage->Width - 1) << R200_PP_TX_WIDTHMASK_SHIFT)
                   | ((firstImage->Height - 1) << R200_PP_TX_HEIGHTMASK_SHIFT));
 
    t->pp_txsize = (((firstImage->Width - 1) << R200_PP_TX_WIDTHMASK_SHIFT)
                   | ((firstImage->Height - 1) << R200_PP_TX_HEIGHTMASK_SHIFT));
 
index 8a1c61ad80b19abdc31140656674dd45b3d6bb72..dc72592b90c8a194293be236b6afafe808b7142c 100644 (file)
@@ -433,7 +433,7 @@ struct radeon_context {
   GLboolean front_cliprects;
 
    /**
   GLboolean front_cliprects;
 
    /**
-    * Set if rendering has occured to the drawable's front buffer.
+    * Set if rendering has occurred to the drawable's front buffer.
     *
     * This is used in the DRI2 case to detect that glFlush should also copy
     * the contents of the fake front buffer to the real front buffer.
     *
     * This is used in the DRI2 case to detect that glFlush should also copy
     * the contents of the fake front buffer to the real front buffer.
index 4d24e5f6a2625641162ce94189032eb58a4761b4..2fe0e5756a50bff1ef84970474062cc0b3697574 100644 (file)
@@ -95,7 +95,7 @@ do {                                          \
       rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
 } while (0)
 
       rmesa->radeon.dma.flush( &rmesa->radeon.glCtx ); \
 } while (0)
 
-/* Can accomodate several state changes and primitive changes without
+/* Can accommodate several state changes and primitive changes without
  * actually firing the buffer.
  */
 
  * actually firing the buffer.
  */
 
index 681b81ac76209632d82f6db56915cbd1efeaf8b1..65e7ca89d325fe103e09e7c817c44170cfd5d362 100644 (file)
@@ -196,7 +196,7 @@ bits_per_pixel( XMesaVisual xmv )
  * Do this by calling XGetWindowAttributes() for the window and
  * checking if we catch an X error.
  * Input:  dpy - the display
  * Do this by calling XGetWindowAttributes() for the window and
  * checking if we catch an X error.
  * Input:  dpy - the display
- *         win - the window to check for existance
+ *         win - the window to check for existence
  * Return:  GL_TRUE - window exists
  *          GL_FALSE - window doesn't exist
  */
  * Return:  GL_TRUE - window exists
  *          GL_FALSE - window doesn't exist
  */
index adf64976e5ee5e25c19b5571bd63de55d5f08acb..f36fb8dd66c1d15d34bd791e43eaa56d3256679a 100644 (file)
@@ -936,7 +936,7 @@ alloc_dispatch_table(void)
 {
    /* Find the larger of Mesa's dispatch table and libGL's dispatch table.
     * In practice, this'll be the same for stand-alone Mesa.  But for DRI
 {
    /* Find the larger of Mesa's dispatch table and libGL's dispatch table.
     * In practice, this'll be the same for stand-alone Mesa.  But for DRI
-    * Mesa we do this to accomodate different versions of libGL and various
+    * Mesa we do this to accommodate different versions of libGL and various
     * DRI drivers.
     */
    GLint numEntries = MAX2(_glapi_get_dispatch_table_size(), _gloffset_COUNT);
     * DRI drivers.
     */
    GLint numEntries = MAX2(_glapi_get_dispatch_table_size(), _gloffset_COUNT);
index edf7e3390874150d3322f32e91e78ca58ae51cab..7fdd9bab6ff2d9fb19c93efbc596a41818208a28 100644 (file)
@@ -1657,7 +1657,7 @@ _mesa_get_fixed_func_vertex_program(struct gl_context *ctx)
    struct gl_vertex_program *prog;
    struct state_key key;
 
    struct gl_vertex_program *prog;
    struct state_key key;
 
-   /* Grab all the relevent state and put it in a single structure:
+   /* Grab all the relevant state and put it in a single structure:
     */
    make_state_key(ctx, &key);
 
     */
    make_state_key(ctx, &key);
 
index 2bc8bcad90b869489e9f0a5c175f8e178e76a962..8af44e90520097bf25cb7d57653e2c45f8851a29 100644 (file)
@@ -811,7 +811,7 @@ _mesa_format_image_size(mesa_format format, GLsizei width,
 
 /**
  * Same as _mesa_format_image_size() but returns a 64-bit value to
 
 /**
  * Same as _mesa_format_image_size() but returns a 64-bit value to
- * accomodate very large textures.
+ * accommodate very large textures.
  */
 uint64_t
 _mesa_format_image_size64(mesa_format format, GLsizei width,
  */
 uint64_t
 _mesa_format_image_size64(mesa_format format, GLsizei width,
index 0475a7ab23480f62c2934e0898d4f4253a6b57e8..ecf564c00897fba672703203d7a30a2b78cec37b 100644 (file)
@@ -50,7 +50,7 @@
 /*@{*/
 #define MAT_FLAG_IDENTITY       0     /**< is an identity matrix flag.
                                        *   (Not actually used - the identity
 /*@{*/
 #define MAT_FLAG_IDENTITY       0     /**< is an identity matrix flag.
                                        *   (Not actually used - the identity
-                                       *   matrix is identified by the absense
+                                       *   matrix is identified by the absence
                                        *   of all other flags.)
                                        */
 #define MAT_FLAG_GENERAL        0x1   /**< is a general matrix flag */
                                        *   of all other flags.)
                                        */
 #define MAT_FLAG_GENERAL        0x1   /**< is a general matrix flag */
index eed2e55dc29d71e6297844e257adf4e2d8acb7c6..e85a836a00bd4ea16d6ddcae0a9a0287e95d7cd7 100644 (file)
@@ -116,8 +116,8 @@ extern void hash_table_insert(struct hash_table *ht, void *data,
  * Add an element to a hash table with replacement
  *
  * \return
  * Add an element to a hash table with replacement
  *
  * \return
- * 1 if it did replace the the value (in which case the old key is kept), 0 if
- * it did not replace the value (in which case the new key is kept).
+ * 1 if it did replace the value (in which case the old key is kept), 0 if it
+ * did not replace the value (in which case the new key is kept).
  *
  * \warning
  * If \c key is already in the hash table, \c data will \b replace the most
  *
  * \warning
  * If \c key is already in the hash table, \c data will \b replace the most
index 34609f05696a6a26f6cb642f7f74cc1a5d9b63ab..ed93af7f13ad10d202947709718e14400e23e633 100644 (file)
@@ -77,7 +77,7 @@ hash_key(const void *key, GLuint key_size)
 
 
 /**
 
 
 /**
- * Rebuild/expand the hash table to accomodate more entries
+ * Rebuild/expand the hash table to accommodate more entries
  */
 static void
 rehash(struct gl_program_cache *cache)
  */
 static void
 rehash(struct gl_program_cache *cache)
index 6df4300499c5aa0966114839421f1b76c9411102..ca51eeee366c0c734029cf76aa4ac142a9bcf0b4 100644 (file)
@@ -152,7 +152,7 @@ void st_init_flush_functions(struct dd_function_table *functions)
     * Finish() is identical to Flush() in all cases - no differences in
     * rendering or ReadPixels are visible if we opt not to wait here.
     *
     * Finish() is identical to Flush() in all cases - no differences in
     * rendering or ReadPixels are visible if we opt not to wait here.
     *
-    * Only set this up on windows to avoid suprise elsewhere.
+    * Only set this up on Windows to avoid surprise elsewhere.
     */
 #ifdef PIPE_OS_WINDOWS
    functions->Finish = st_glFlush;
     */
 #ifdef PIPE_OS_WINDOWS
    functions->Finish = st_glFlush;
index 0adb8e5ba0d1b993347308cbbf337a0a7b202d1f..453bd36367b9f5d09c874e71596655d93402edfc 100644 (file)
@@ -645,7 +645,7 @@ _swrast_texture_span( struct gl_context *ctx, SWspan *span )
 
    /*
     * Must do all texture sampling before combining in order to
 
    /*
     * Must do all texture sampling before combining in order to
-    * accomodate GL_ARB_texture_env_crossbar.
+    * accommodate GL_ARB_texture_env_crossbar.
     */
    for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) {
       const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
     */
    for (unit = 0; unit < ctx->Const.MaxTextureUnits; unit++) {
       const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
index 36d8a969e660c252caffe6a0c0bb798e0be49bf4..a84b299e518182401794ec81a7670aed2b78b567 100644 (file)
@@ -40,7 +40,7 @@ struct tnl_clipspace;
 
 
 /* It will probably be necessary to allow drivers to specify new
 
 
 /* It will probably be necessary to allow drivers to specify new
- * emit-styles to cover all the wierd and wacky things out there.
+ * emit-styles to cover all the weird and wacky things out there.
  */
 enum tnl_attr_format {
    EMIT_1F,
  */
 enum tnl_attr_format {
    EMIT_1F,
index 859078f121cc162aa09f2954f7f5ec3ad8ca8123..48680ec8899dc8d02cb52d1648998454e6d8e6e7 100644 (file)
@@ -685,7 +685,7 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
       return;
    }
 
       return;
    }
 
-   /* Heuristic: attempt to isolate attributes occuring outside
+   /* Heuristic: attempt to isolate attributes occurring outside
     * begin/end pairs.
     */
    if (exec->vtx.vertex_size && !exec->vtx.attrsz[0])
     * begin/end pairs.
     */
    if (exec->vtx.vertex_size && !exec->vtx.attrsz[0])
index 74e266d191cd054eeff83bf6c2862ce70d3126f6..de744e0c763264ed096e41ca2518da3b384d341b 100644 (file)
@@ -278,7 +278,7 @@ vbo_save_playback_vertex_list(struct gl_context *ctx, void *data)
          goto end;
       }
       else if (save->replay_flags) {
          goto end;
       }
       else if (save->replay_flags) {
-        /* Various degnerate cases: translate into immediate mode
+        /* Various degenerate cases: translate into immediate mode
          * calls rather than trying to execute in place.
          */
         vbo_save_loopback_vertex_list( ctx, node );
          * calls rather than trying to execute in place.
          */
         vbo_save_loopback_vertex_list( ctx, node );