diff options
author | Chad Versace <[email protected]> | 2011-07-27 12:21:27 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-07-30 07:26:59 -0700 |
commit | 200e4972c1579e8dfaa6f11eee2a7e54baad4852 (patch) | |
tree | aafa7abd84f3c6c41f3d26aca3b5eeb7613f20da /src/glsl/ralloc.c | |
parent | 120d71a45cfda1edfa8cd6b1732e209eb98b53d8 (diff) |
glsl: Add method glsl_type::can_implicitly_convert_to()
This method checks if a source type is identical to or can be implicitly
converted to a target type according to the GLSL 1.20 spec, Section 4.1.10
Implicit Conversions.
The following commits use the method for a bugfix:
glsl: Fix implicit conversions in non-constructor function calls
glsl: Fix implicit conversions in array constructors
Note: This is a candidate for the 7.10 and 7.11 branches.
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glsl/ralloc.c')
0 files changed, 0 insertions, 0 deletions