[Mesa-dev] [v2 PATCH 0/5] Fix implicit type conversion errors

Kenneth Graunke kenneth at whitecape.org
Fri Jul 29 23:39:50 PDT 2011


On 07/29/2011 06:58 PM, Chad Versace wrote:
> Fix implicit type conversion errors
> 
>  Fixes Piglit tests:
>      spec/glsl-1.20/compiler/built-in-functions/outerProduct-bvec*.vert
>      spec/glsl-1.20/compiler/structure-and-array-operations/array-ctor-implicit-conversion-bool-float.vert
>      spec/glsl-1.20/compiler/structure-and-array-operations/array-ctor-implicit-conversion-bvec*-vec*.vert
> 
> v2:
>    - Fix the squash issues identified by Ken in patches 1 and 2.
>    - Fix all other issues identifed by Ken, noted in each patch.
> 
> Chad Versace (5):
>   glsl: Add method glsl_type::can_implicitly_convert_to()
>   glsl: Fix implicit conversions in non-constructor function calls
>   glsl: Remove ir_function.cpp:type_compare()
>   glsl: Fix conversions in array constructors
>   glsl: Clarify ir_function::matching_sigature()
> 
>  src/glsl/ast_function.cpp |   12 +++-
>  src/glsl/glsl_types.cpp   |   16 +++++
>  src/glsl/glsl_types.h     |   35 +++++++++++
>  src/glsl/ir_function.cpp  |  140 +++++++++++++++++----------------------------
>  4 files changed, 113 insertions(+), 90 deletions(-)

Thanks, Chad.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list