[Mesa-dev] [PATCH 1/9] glsl: trivial comment fix in lower_packed_varyings.cpp

Tapani Pälli tapani.palli at intel.com
Tue Dec 19 08:43:45 UTC 2017



On 12/18/2017 10:47 PM, Brian Paul wrote:
> ---
>   src/compiler/glsl/lower_packed_varyings.cpp | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compiler/glsl/lower_packed_varyings.cpp b/src/compiler/glsl/lower_packed_varyings.cpp
> index 1aec7ee..b840d26 100644
> --- a/src/compiler/glsl/lower_packed_varyings.cpp
> +++ b/src/compiler/glsl/lower_packed_varyings.cpp
> @@ -766,7 +766,7 @@ lower_packed_varyings_visitor::needs_lowering(ir_variable *var)
>      /* Override disable_varying_packing if the var is only used by transform
>       * feedback. Also override it if transform feedback is enabled and the
>       * variable is an array, struct or matrix as the elements of these types
> -    * will always has the same interpolation and therefore asre safe to pack.
> +    * will always has the same interpolation and therefore are safe to pack.

Maybe also change 'has' to 'have'?


>       */
>      const glsl_type *type = var->type;
>      if (disable_varying_packing && !var->data.is_xfb_only &&
> 


More information about the mesa-dev mailing list