<p dir="ltr"><br>
On Jun 23, 2016 6:33 AM, "Giuseppe Bilotta" <<a href="mailto:giuseppe.bilotta@gmail.com">giuseppe.bilotta@gmail.com</a>> wrote:<br>
><br>
> Clean up misrepetitions ('if if', 'the the' etc) found throughout the<br>
> comments. This has been done manually, after grepping<br>
> case-insensitively for duplicate if, is, the, then, do, for, an<br>
><br>
> v2:<br>
> * proper commit message and non-joke title;<br>
> * replace two 'as is' followed by 'is' to 'as-is'.<br>
><br>
> Signed-off-by: Giuseppe Bilotta <<a href="mailto:giuseppe.bilotta@gmail.com">giuseppe.bilotta@gmail.com</a>><br>
> ---<br>
> include/GL/mesa_glinterop.h | 6 +++---<br>
> src/compiler/glsl/glsl_to_nir.cpp | 2 +-<br>
> src/compiler/nir/nir.h | 2 +-<br>
> src/compiler/nir/nir_intrinsics.h | 4 ++--<br>
> src/compiler/nir/nir_lower_vars_to_ssa.c | 2 +-<br>
> src/compiler/nir/nir_lower_wpos_ytransform.c | 2 +-<br>
> src/compiler/nir/nir_opt_dead_cf.c | 2 +-<br>
> src/compiler/spirv/spirv_to_nir.c | 2 +-<br>
> src/gallium/docs/source/context.rst | 2 +-<br>
> src/gallium/drivers/freedreno/freedreno_texture.h | 2 +-<br>
> src/gallium/drivers/nouveau/nouveau_buffer.c | 2 +-<br>
> src/gallium/drivers/r300/compiler/radeon_dataflow.c | 2 +-<br>
> src/gallium/drivers/r300/compiler/radeon_vert_fc.c | 2 +-<br>
> src/gallium/drivers/svga/svga_format.c | 2 +-<br>
> src/gallium/drivers/swr/rasterizer/core/backend.h | 4 ++--<br>
> src/gallium/drivers/swr/rasterizer/core/state.h | 2 +-<br>
> src/gallium/drivers/swr/rasterizer/core/threads.cpp | 2 +-<br>
> src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c | 2 +-<br>
> src/gallium/drivers/vc4/vc4_qir_schedule.c | 2 +-<br>
> src/gallium/state_trackers/nine/device9.c | 2 +-<br>
> src/gbm/main/gbm.c | 2 +-<br>
> src/gtest/src/gtest.cc | 2 +-<br>
> src/mesa/drivers/dri/i965/brw_device_info.h | 2 +-<br>
> src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +-<br>
> src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c | 2 +-<br>
> src/mesa/drivers/dri/i965/brw_performance_monitor.c | 2 +-<br>
> src/mesa/drivers/x11/xm_buffer.c | 2 +-<br>
> src/mesa/main/texobj.c | 2 +-<br>
> src/mesa/program/ir_to_mesa.cpp | 2 +-<br>
> src/mesa/state_tracker/st_cb_fbo.c | 2 +-<br>
> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 ++--<br>
> src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 +-<br>
> 32 files changed, 37 insertions(+), 37 deletions(-)<br>
><br>
> diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h<br>
> index c0c20d6..383d7f9 100644<br>
> --- a/include/GL/mesa_glinterop.h<br>
> +++ b/include/GL/mesa_glinterop.h<br>
> @@ -97,7 +97,7 @@ struct mesa_glinterop_device_info {<br>
> /* The callee will overwrite it if it supports a lower version.<br>
> *<br>
> * The caller should check the value and access up-to the version supported<br>
> - * by the the callee.<br>
> + * by the callee.<br>
> */<br>
> /* NOTE: Do not use the MESA_GLINTEROP_DEVICE_INFO_VERSION macro */<br>
> uint32_t version;<br>
> @@ -125,7 +125,7 @@ struct mesa_glinterop_export_in {<br>
> /* The callee will overwrite it if it supports a lower version.<br>
> *<br>
> * The caller should check the value and access up-to the version supported<br>
> - * by the the callee.<br>
> + * by the callee.<br>
> */<br>
> /* NOTE: Do not use the MESA_GLINTEROP_EXPORT_IN_VERSION macro */<br>
> uint32_t version;<br>
> @@ -190,7 +190,7 @@ struct mesa_glinterop_export_out {<br>
> /* The callee will overwrite it if it supports a lower version.<br>
> *<br>
> * The caller should check the value and access up-to the version supported<br>
> - * by the the callee.<br>
> + * by the callee.<br>
> */<br>
> /* NOTE: Do not use the MESA_GLINTEROP_EXPORT_OUT_VERSION macro */<br>
> uint32_t version;<br>
> diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp<br>
> index 16d0c1d..a22fd5b 100644<br>
> --- a/src/compiler/glsl/glsl_to_nir.cpp<br>
> +++ b/src/compiler/glsl/glsl_to_nir.cpp<br>
> @@ -1950,7 +1950,7 @@ void<br>
> nir_visitor::visit(ir_constant *ir)<br>
> {<br>
> /*<br>
> - * We don't know if this variable is an an array or struct that gets<br>
> + * We don't know if this variable is an array or struct that gets<br>
> * dereferenced, so do the safe thing an make it a variable with a<br>
> * constant initializer and return a dereference.<br>
> */<br>
> diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h<br>
> index 1725ee3..94dee4d 100644<br>
> --- a/src/compiler/nir/nir.h<br>
> +++ b/src/compiler/nir/nir.h<br>
> @@ -804,7 +804,7 @@ typedef struct {<br>
> } nir_deref_var;<br>
><br>
> /* This enum describes how the array is referenced. If the deref is<br>
> - * direct then the base_offset is used. If the deref is indirect then then<br>
> + * direct then the base_offset is used. If the deref is indirect then<br>
> * offset is given by base_offset + indirect. If the deref is a wildcard<br>
> * then the deref refers to all of the elements of the array at the same<br>
> * time. Wildcard dereferences are only ever allowed in copy_var<br>
> diff --git a/src/compiler/nir/nir_intrinsics.h b/src/compiler/nir/nir_intrinsics.h<br>
> index 6f86c9f..ae253f0 100644<br>
> --- a/src/compiler/nir/nir_intrinsics.h<br>
> +++ b/src/compiler/nir/nir_intrinsics.h<br>
> @@ -48,9 +48,9 @@ INTRINSIC(copy_var, 0, ARR(0), false, 0, 2, 0, xx, xx, xx, 0)<br>
><br>
> /*<br>
> * Interpolation of input. The interp_var_at* intrinsics are similar to the<br>
> - * load_var intrinsic acting an a shader input except that they interpolate<br>
> + * load_var intrinsic acting on a shader input except that they interpolate<br>
> * the input differently. The at_sample and at_offset intrinsics take an<br>
> - * aditional source that is a integer sample id or a vec2 position offset<br>
> + * additional source that is a integer sample id or a vec2 position offset</p>
<p dir="ltr">While you're here, that should be "an integer"</p>
<p dir="ltr">With or without that fix,</p>
<p dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></p>
<p dir="ltr">> * respectively.<br>
> */<br>
><br>
> diff --git a/src/compiler/nir/nir_lower_vars_to_ssa.c b/src/compiler/nir/nir_lower_vars_to_ssa.c<br>
> index d62cec0..317647b 100644<br>
> --- a/src/compiler/nir/nir_lower_vars_to_ssa.c<br>
> +++ b/src/compiler/nir/nir_lower_vars_to_ssa.c<br>
> @@ -621,7 +621,7 @@ rename_variables_block(nir_block *block, struct lower_variables_state *state)<br>
> * fully-direct references we see and store them in the<br>
> * direct_deref_nodes hash table.<br>
> *<br>
> - * 2) Walk over the the list of fully-qualified direct derefs generated in<br>
> + * 2) Walk over the list of fully-qualified direct derefs generated in<br>
> * the previous pass. For each deref, we determine if it can ever be<br>
> * aliased, i.e. if there is an indirect reference anywhere that may<br>
> * refer to it. If it cannot be aliased, we mark it for lowering to an<br>
> diff --git a/src/compiler/nir/nir_lower_wpos_ytransform.c b/src/compiler/nir/nir_lower_wpos_ytransform.c<br>
> index ccf0fd3..173f058 100644<br>
> --- a/src/compiler/nir/nir_lower_wpos_ytransform.c<br>
> +++ b/src/compiler/nir/nir_lower_wpos_ytransform.c<br>
> @@ -159,7 +159,7 @@ lower_fragcoord(lower_wpos_ytransform_state *state, nir_intrinsic_instr *intr)<br>
> *<br>
> * The bias of the y-coordinate depends on whether y-inversion takes place<br>
> * (adjY[1]) or not (adjY[0]), which is in turn dependent on whether we are<br>
> - * drawing to an FBO (causes additional inversion), and whether the the pipe<br>
> + * drawing to an FBO (causes additional inversion), and whether the pipe<br>
> * driver origin and the requested origin differ (the latter condition is<br>
> * stored in the 'invert' variable).<br>
> *<br>
> diff --git a/src/compiler/nir/nir_opt_dead_cf.c b/src/compiler/nir/nir_opt_dead_cf.c<br>
> index 74af19b..81c1b65 100644<br>
> --- a/src/compiler/nir/nir_opt_dead_cf.c<br>
> +++ b/src/compiler/nir/nir_opt_dead_cf.c<br>
> @@ -30,7 +30,7 @@<br>
><br>
> /*<br>
> * This file implements an optimization that deletes statically<br>
> - * unreachable/dead code. In NIR, one way this can happen if if an if<br>
> + * unreachable/dead code. In NIR, one way this can happen is when an if<br>
> * statement has a constant condition:<br>
> *<br>
> * if (true) {<br>
> diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c<br>
> index f1bbfd5..85f53a0 100644<br>
> --- a/src/compiler/spirv/spirv_to_nir.c<br>
> +++ b/src/compiler/spirv/spirv_to_nir.c<br>
> @@ -2458,7 +2458,7 @@ vtn_handle_execution_mode(struct vtn_builder *b, struct vtn_value *entry_point,<br>
> b->shader->info.cs.local_size[2] = mode->literals[2];<br>
> break;<br>
> case SpvExecutionModeLocalSizeHint:<br>
> - break; /* Nothing do do with this */<br>
> + break; /* Nothing to do with this */<br>
><br>
> case SpvExecutionModeOutputVertices:<br>
> assert(b->shader->stage == MESA_SHADER_GEOMETRY);<br>
> diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst<br>
> index 6f09c55..05c6f11 100644<br>
> --- a/src/gallium/docs/source/context.rst<br>
> +++ b/src/gallium/docs/source/context.rst<br>
> @@ -234,7 +234,7 @@ include several layers), this surface need not be bound to the framebuffer.<br>
><br>
> ``clear_depth_stencil`` clears a single depth, stencil or depth/stencil surface<br>
> with the specified depth and stencil values (for combined depth/stencil buffers,<br>
> -is is also possible to only clear one or the other part). While it is only<br>
> +it is also possible to only clear one or the other part). While it is only<br>
> possible to clear one surface at a time (which can include several layers),<br>
> this surface need not be bound to the framebuffer.<br>
><br>
> diff --git a/src/gallium/drivers/freedreno/freedreno_texture.h b/src/gallium/drivers/freedreno/freedreno_texture.h<br>
> index fa27d1c..b52e27d 100644<br>
> --- a/src/gallium/drivers/freedreno/freedreno_texture.h<br>
> +++ b/src/gallium/drivers/freedreno/freedreno_texture.h<br>
> @@ -55,7 +55,7 @@ struct fd_texture_stateobj;<br>
> * | fp16[3] /<br>
> * 0x08: | padding<br>
> * 0x10: | int16[0] \<br>
> - * | int16[1] |___ swizzled int16 channels for for "small integer"<br>
> + * | int16[1] |___ swizzled int16 channels for "small integer"<br>
> * | int16[2] | formats (<= 16 bits per component, integer)<br>
> * | int16[3] /<br>
> * 0x18: | padding<br>
> diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.c b/src/gallium/drivers/nouveau/nouveau_buffer.c<br>
> index 2db538c..7c1421b 100644<br>
> --- a/src/gallium/drivers/nouveau/nouveau_buffer.c<br>
> +++ b/src/gallium/drivers/nouveau/nouveau_buffer.c<br>
> @@ -163,7 +163,7 @@ nouveau_transfer_staging(struct nouveau_context *nv,<br>
> return tx->map;<br>
> }<br>
><br>
> -/* Copies data from the resource into the the transfer's temporary GART<br>
> +/* Copies data from the resource into the transfer's temporary GART<br>
> * buffer. Also updates buf->data if present.<br>
> *<br>
> * Maybe just migrate to GART right away if we actually need to do this. */<br>
> diff --git a/src/gallium/drivers/r300/compiler/radeon_dataflow.c b/src/gallium/drivers/r300/compiler/radeon_dataflow.c<br>
> index a8decac..03127eb 100644<br>
> --- a/src/gallium/drivers/r300/compiler/radeon_dataflow.c<br>
> +++ b/src/gallium/drivers/r300/compiler/radeon_dataflow.c<br>
> @@ -850,7 +850,7 @@ static void init_get_readers_callback_data(<br>
> * of the loop it reads the value written by instruction 0 and in all other<br>
> * iterations it reads the value written by instruction 3.<br>
> *<br>
> - * @param read_cb This function will be called for for every instruction that<br>
> + * @param read_cb This function will be called for every instruction that<br>
> * has been determined to be a reader of writer.<br>
> * @param write_cb This function will be called for every instruction after<br>
> * writer.<br>
> diff --git a/src/gallium/drivers/r300/compiler/radeon_vert_fc.c b/src/gallium/drivers/r300/compiler/radeon_vert_fc.c<br>
> index 479101e..fded485 100644<br>
> --- a/src/gallium/drivers/r300/compiler/radeon_vert_fc.c<br>
> +++ b/src/gallium/drivers/r300/compiler/radeon_vert_fc.c<br>
> @@ -134,7 +134,7 @@ static void lower_bgnloop(<br>
> } else {<br>
> fc_state->PredStack[fc_state->LoopDepth] =<br>
> fc_state->PredicateReg;<br>
> - /* Copy the the current predicate value to this loop's<br>
> + /* Copy the current predicate value to this loop's<br>
> * predicate register */<br>
><br>
> /* Use the old predicate value for src0 */<br>
> diff --git a/src/gallium/drivers/svga/svga_format.c b/src/gallium/drivers/svga/svga_format.c<br>
> index 2fc920a..4662bef 100644<br>
> --- a/src/gallium/drivers/svga/svga_format.c<br>
> +++ b/src/gallium/drivers/svga/svga_format.c<br>
> @@ -1916,7 +1916,7 @@ svga_format_size(SVGA3dSurfaceFormat format,<br>
> *block_width = format_cap_table[format].block_width;<br>
> *block_height = format_cap_table[format].block_height;<br>
> *bytes_per_block = format_cap_table[format].block_bytes;<br>
> - /* Make sure the the table entry was valid */<br>
> + /* Make sure the table entry was valid */<br>
> if (*block_width == 0)<br>
> debug_printf("Bad table entry for %s\n", svga_format_name(format));<br>
> assert(*block_width);<br>
> diff --git a/src/gallium/drivers/swr/rasterizer/core/backend.h b/src/gallium/drivers/swr/rasterizer/core/backend.h<br>
> index 81dbe53..8a289c7 100644<br>
> --- a/src/gallium/drivers/swr/rasterizer/core/backend.h<br>
> +++ b/src/gallium/drivers/swr/rasterizer/core/backend.h<br>
> @@ -208,13 +208,13 @@ INLINE void generateInputCoverage(const uint64_t *const coverageMask, uint32_t (<br>
><br>
> mask[0] = _mm256_set_epi8(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0xC, 0x8, 0x4, 0x0,<br>
> -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0xC, 0x8, 0x4, 0x0);<br>
> - // pull out the the 8bit 4x2 coverage for samples 0-7 into the lower 32 bits of each 128bit lane<br>
> + // pull out the 8bit 4x2 coverage for samples 0-7 into the lower 32 bits of each 128bit lane<br>
> __m256i packedCoverage0 = _simd_shuffle_epi8(sampleCoverage[0], mask[0]);<br>
><br>
> __m256i packedCoverage1;<br>
> if(T::MultisampleT::numSamples > 8)<br>
> {<br>
> - // pull out the the 8bit 4x2 coverage for samples 8-15 into the lower 32 bits of each 128bit lane<br>
> + // pull out the 8bit 4x2 coverage for samples 8-15 into the lower 32 bits of each 128bit lane<br>
> packedCoverage1 = _simd_shuffle_epi8(sampleCoverage[1], mask[0]);<br>
> }<br>
><br>
> diff --git a/src/gallium/drivers/swr/rasterizer/core/state.h b/src/gallium/drivers/swr/rasterizer/core/state.h<br>
> index 5156c6b..511607a 100644<br>
> --- a/src/gallium/drivers/swr/rasterizer/core/state.h<br>
> +++ b/src/gallium/drivers/swr/rasterizer/core/state.h<br>
> @@ -626,7 +626,7 @@ struct SWR_STREAMOUT_STATE<br>
><br>
> // The stream masks specify which attributes are sent to which streams.<br>
> // These masks help the FE to setup the pPrimData buffer that is passed<br>
> - // the the Stream Output Shader (SOS) function.<br>
> + // the Stream Output Shader (SOS) function.<br>
> uint32_t streamMasks[MAX_SO_STREAMS];<br>
><br>
> // Number of attributes, including position, per vertex that are streamed out.<br>
> diff --git a/src/gallium/drivers/swr/rasterizer/core/threads.cpp b/src/gallium/drivers/swr/rasterizer/core/threads.cpp<br>
> index 17bf616..9cb4d0e 100644<br>
> --- a/src/gallium/drivers/swr/rasterizer/core/threads.cpp<br>
> +++ b/src/gallium/drivers/swr/rasterizer/core/threads.cpp<br>
> @@ -437,7 +437,7 @@ void WorkOnFifoBE(<br>
><br>
> for (uint32_t tileID : macroTiles)<br>
> {<br>
> - // Only work on tiles for for this numa node<br>
> + // Only work on tiles for this numa node<br>
> uint32_t x, y;<br>
> pDC->pTileMgr->getTileIndices(tileID, x, y);<br>
> if (((x ^ y) & numaMask) != numaNode)<br>
> diff --git a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c<br>
> index 868a0ad..2f4f8e8 100644<br>
> --- a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c<br>
> +++ b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c<br>
> @@ -163,7 +163,7 @@ check_tmu_write(uint64_t inst,<br>
> return false;<br>
> }<br>
><br>
> - /* We assert that the the clamped address is the first<br>
> + /* We assert that the clamped address is the first<br>
> * argument, and the UBO base address is the second argument.<br>
> * This is arbitrary, but simpler than supporting flipping the<br>
> * two either way.<br>
> diff --git a/src/gallium/drivers/vc4/vc4_qir_schedule.c b/src/gallium/drivers/vc4/vc4_qir_schedule.c<br>
> index 4a1283c..c86df83 100644<br>
> --- a/src/gallium/drivers/vc4/vc4_qir_schedule.c<br>
> +++ b/src/gallium/drivers/vc4/vc4_qir_schedule.c<br>
> @@ -407,7 +407,7 @@ choose_instruction(struct schedule_state *state)<br>
> }<br>
><br>
> /* If we would block on the previously chosen node, but would<br>
> - * block less on this one, then then prefer it.<br>
> + * block less on this one, then prefer it.<br>
> */<br>
> if (chosen->unblocked_time > state->time &&<br>
> n->unblocked_time < chosen->unblocked_time) {<br>
> diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c<br>
> index 20a0ce0..bb1735a 100644<br>
> --- a/src/gallium/state_trackers/nine/device9.c<br>
> +++ b/src/gallium/state_trackers/nine/device9.c<br>
> @@ -236,7 +236,7 @@ NineDevice9_ctor( struct NineDevice9 *This,<br>
> NineUnknown_ConvertRefToBind(NineUnknown(This->state.rt[i]));<br>
> }<br>
><br>
> - /* Initialize a dummy VBO to be used when a a vertex declaration does not<br>
> + /* Initialize a dummy VBO to be used when a vertex declaration does not<br>
> * specify all the inputs needed by vertex shader, on win default behavior<br>
> * is to pass 0,0,0,0 to the shader */<br>
> {<br>
> diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c<br>
> index 0f4657a..6be5b69 100644<br>
> --- a/src/gbm/main/gbm.c<br>
> +++ b/src/gbm/main/gbm.c<br>
> @@ -361,7 +361,7 @@ gbm_bo_create(struct gbm_device *gbm,<br>
> * GBM_BO_IMPORT_EGL_IMAGE<br>
> * GBM_BO_IMPORT_FD<br>
> *<br>
> - * The the gbm bo shares the underlying pixels but its life-time is<br>
> + * The gbm bo shares the underlying pixels but its life-time is<br>
> * independent of the foreign object.<br>
> *<br>
> * \param gbm The gbm device returned from gbm_create_device()<br>
> diff --git a/src/gtest/src/gtest.cc b/src/gtest/src/gtest.cc<br>
> index 6de53dd..0f4aa93 100644<br>
> --- a/src/gtest/src/gtest.cc<br>
> +++ b/src/gtest/src/gtest.cc<br>
> @@ -1461,7 +1461,7 @@ std::string CodePointToUtf8(UInt32 code_point) {<br>
> return str;<br>
> }<br>
><br>
> -// The following two functions only make sense if the the system<br>
> +// The following two functions only make sense if the system<br>
> // uses UTF-16 for wide string encoding. All supported systems<br>
> // with 16 bit wchar_t (Windows, Cygwin, Symbian OS) do use UTF-16.<br>
><br>
> diff --git a/src/mesa/drivers/dri/i965/brw_device_info.h b/src/mesa/drivers/dri/i965/brw_device_info.h<br>
> index 4e7f313..0869063 100644<br>
> --- a/src/mesa/drivers/dri/i965/brw_device_info.h<br>
> +++ b/src/mesa/drivers/dri/i965/brw_device_info.h<br>
> @@ -73,7 +73,7 @@ struct brw_device_info<br>
> * In general, you can find shader thread maximums by looking at the "Maximum<br>
> * Number of Threads" field in the Intel PRM description of the 3DSTATE_VS,<br>
> * 3DSTATE_GS, 3DSTATE_HS, 3DSTATE_DS, and 3DSTATE_PS commands. URB entry<br>
> - * limits come from the "Number of URB Entries" field in the the<br>
> + * limits come from the "Number of URB Entries" field in the<br>
> * 3DSTATE_URB_VS command and friends.<br>
> *<br>
> * These fields are used to calculate the scratch space to allocate. The<br>
> diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp<br>
> index 17673f8..51f1634 100644<br>
> --- a/src/mesa/drivers/dri/i965/brw_fs.cpp<br>
> +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp<br>
> @@ -1180,7 +1180,7 @@ fs_visitor::emit_general_interpolation(fs_reg *attr, const char *name,<br>
><br>
> /* Data starts at suboffet 3 in 32-bit units (12 bytes), so it is not<br>
> * 64-bit aligned and the current implementation fails to read the<br>
> - * data properly. Instead, when there is is a double input varying,<br>
> + * data properly. Instead, when there is a double input varying,<br>
> * read it as vector of floats with twice the number of components.<br>
> */<br>
> if (attr->type == BRW_REGISTER_TYPE_DF) {<br>
> diff --git a/src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c b/src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c<br>
> index 86fcdd4..14a9a0f 100644<br>
> --- a/src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c<br>
> +++ b/src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c<br>
> @@ -113,7 +113,7 @@ get_mul_for_src(nir_alu_src *src, int num_components,<br>
> break;<br>
><br>
> case nir_op_fmul:<br>
> - /* Only absorb a fmul into a ffma if the fmul is is only used in fadd<br>
> + /* Only absorb a fmul into a ffma if the fmul is only used in fadd<br>
> * operations. This prevents us from being too aggressive with our<br>
> * fusing which can actually lead to more instructions.<br>
> */<br>
> diff --git a/src/mesa/drivers/dri/i965/brw_performance_monitor.c b/src/mesa/drivers/dri/i965/brw_performance_monitor.c<br>
> index a91c6e2..cb1ab4c 100644<br>
> --- a/src/mesa/drivers/dri/i965/brw_performance_monitor.c<br>
> +++ b/src/mesa/drivers/dri/i965/brw_performance_monitor.c<br>
> @@ -1016,7 +1016,7 @@ wrap_bookend_bo(struct brw_context *brw)<br>
> }<br>
><br>
> /* This is fairly arbitrary; the trade off is memory usage vs. extra overhead<br>
> - * from wrapping. On Gen7, 32768 should be enough for for 128 snapshots before<br>
> + * from wrapping. On Gen7, 32768 should be enough for 128 snapshots before<br>
> * wrapping (since each is 256 bytes).<br>
> */<br>
> #define BOOKEND_BO_SIZE_BYTES 32768<br>
> diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c<br>
> index f6e1427..4d52169 100644<br>
> --- a/src/mesa/drivers/x11/xm_buffer.c<br>
> +++ b/src/mesa/drivers/x11/xm_buffer.c<br>
> @@ -451,7 +451,7 @@ xmesa_MapRenderbuffer(struct gl_context *ctx,<br>
><br>
> assert(xrb->pixmap);<br>
><br>
> - /* Install error handler for XGetImage() in case the the window<br>
> + /* Install error handler for XGetImage() in case the window<br>
> * isn't mapped. If we fail we'll create a temporary XImage.<br>
> */<br>
> mesaXErrorFlag = 0;<br>
> diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c<br>
> index ed630bd..722549d 100644<br>
> --- a/src/mesa/main/texobj.c<br>
> +++ b/src/mesa/main/texobj.c<br>
> @@ -1196,7 +1196,7 @@ invalidate_tex_image_error_check(struct gl_context *ctx, GLuint texture,<br>
> * glCreateTextures should throw errors if target = 0. This is not exposed to<br>
> * the rest of Mesa to encourage Mesa internals to use nameless textures,<br>
> * which do not require expensive hash lookups.<br>
> - * \param target either 0 or a a valid / error-checked texture target enum<br>
> + * \param target either 0 or a valid / error-checked texture target enum<br>
> */<br>
> static void<br>
> create_textures(struct gl_context *ctx, GLenum target,<br>
> diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp<br>
> index 3a5f058..cf47c0d 100644<br>
> --- a/src/mesa/program/ir_to_mesa.cpp<br>
> +++ b/src/mesa/program/ir_to_mesa.cpp<br>
> @@ -1975,7 +1975,7 @@ ir_to_mesa_visitor::visit(ir_texture *ir)<br>
> ir->coordinate->accept(this);<br>
><br>
> /* Put our coords in a temp. We'll need to modify them for shadow,<br>
> - * projection, or LOD, so the only case we'd use it as is is if<br>
> + * projection, or LOD, so the only case we'd use it as-is is if<br>
> * we're doing plain old texturing. Mesa IR optimization should<br>
> * handle cleaning up our mess in that case.<br>
> */<br>
> diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c<br>
> index a53b95a..9801b1f 100644<br>
> --- a/src/mesa/state_tracker/st_cb_fbo.c<br>
> +++ b/src/mesa/state_tracker/st_cb_fbo.c<br>
> @@ -266,7 +266,7 @@ st_new_renderbuffer(struct gl_context *ctx, GLuint name)<br>
><br>
><br>
> /**<br>
> - * Allocate a renderbuffer for a an on-screen window (not a user-created<br>
> + * Allocate a renderbuffer for an on-screen window (not a user-created<br>
> * renderbuffer). The window system code determines the format.<br>
> */<br>
> struct gl_renderbuffer *<br>
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp<br>
> index 9de603c..07ec91a 100644<br>
> --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp<br>
> +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp<br>
> @@ -3877,7 +3877,7 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir)<br>
> ir->coordinate->accept(this);<br>
><br>
> /* Put our coords in a temp. We'll need to modify them for shadow,<br>
> - * projection, or LOD, so the only case we'd use it as is is if<br>
> + * projection, or LOD, so the only case we'd use it as-is is if<br>
> * we're doing plain old texturing. The optimization passes on<br>
> * glsl_to_tgsi_visitor should handle cleaning up our mess in that case.<br>
> */<br>
> @@ -5832,7 +5832,7 @@ emit_wpos(struct st_context *st,<br>
> *<br>
> * The bias of the y-coordinate depends on whether y-inversion takes place<br>
> * (adjY[1]) or not (adjY[0]), which is in turn dependent on whether we are<br>
> - * drawing to an FBO (causes additional inversion), and whether the the pipe<br>
> + * drawing to an FBO (causes additional inversion), and whether the pipe<br>
> * driver origin and the requested origin differ (the latter condition is<br>
> * stored in the 'invert' variable).<br>
> *<br>
> diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c<br>
> index f7507e5..b989257 100644<br>
> --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c<br>
> +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c<br>
> @@ -830,7 +830,7 @@ emit_wpos(struct st_context *st,<br>
> *<br>
> * The bias of the y-coordinate depends on whether y-inversion takes place<br>
> * (adjY[1]) or not (adjY[0]), which is in turn dependent on whether we are<br>
> - * drawing to an FBO (causes additional inversion), and whether the the pipe<br>
> + * drawing to an FBO (causes additional inversion), and whether the pipe<br>
> * driver origin and the requested origin differ (the latter condition is<br>
> * stored in the 'invert' variable).<br>
> *<br>
> --<br>
> 2.8.1.372.g9612035<br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</p>