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

Chad Versace chad at chad-versace.us
Fri Jul 29 18:58:55 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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(-)

- -- 
1.7.6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJOM2ToAAoJEAIvNt057x8iRQQP/0Z+gPlk1NJAnrnRu6O/3MWw
+JfMZk7B3GJVuWawTjzugSK9LXpu34czGCL2NdlN3HGEY9hIeMIliYMOFaXmqRSo
lMcwXS0ErYwpUg7za1XHnAN/MkxPkT59EE3NkVPpUia8T4n3+k0UBPh0q19E1WQ+
Lw5wZx9vD6orbZv+2Xs2LIjkAMa9FXx5avQqR5jINyjciveIKYklTv8FpRZkAKX9
j1+GcytVDX4aUtR6yYZgTv7VQlRBzMqsKx6HP0DyNMHMw4xKuYN9AHDlewioecLm
YqHHh0roV+5zMLfUtzQgyV0XL94bG9QuPRM9BB0fHzq4RYLln29j9u2py/2WSVMi
vUmhrQmI/njZ6MasS9Hd0Xx/739PscXCdsogDU6R2DccVyxpKecUjIYAGeqSleIM
z0mnMP09GSTsWV3ZP+7SYdlM+g0t8SVhCyj89b2Q9ySVy8P0jB9lwUC6uSmgZqcG
U73VqR3qO1ht3fmtWSy1E6ywDTUoCkTAkLShr1/iPT83hkwQPYQodvzRPkkieS6w
UPx0m7+KotvEjsC4XOnslvLsxAATWjzJOBGC5En3NyRarP2IeGeioza8ibCcRqhd
P3Gdz3LIPlBXobwKofuFb5MlO5jvulmwIiFKSx2DlHHK/weIgMmbehMG8I7DCbjz
eSXdW4uVLa5zWdXPUlAt
=K/Gl
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list