[Mesa-dev] [PATCH 6/7] glsl: fix inconsistent struct/class warning in vs12

Ian Romanick idr at freedesktop.org
Tue Jul 29 16:20:57 PDT 2014


Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 07/22/2014 02:07 PM, Alon Levy wrote:
> Remove incorrect struct prefix, ir_variable is a class
> 
> Signed-off-by: Alon Levy <alevy at redhat.com>
> ---
>  src/glsl/opt_dead_builtin_varyings.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp
> index c2a306e..f98a21f 100644
> --- a/src/glsl/opt_dead_builtin_varyings.cpp
> +++ b/src/glsl/opt_dead_builtin_varyings.cpp
> @@ -334,7 +334,7 @@ public:
>     }
>  
>     void prepare_array(exec_list *ir,
> -                      struct ir_variable **new_var,
> +                      ir_variable **new_var,
>                        int max_elements, unsigned start_location,
>                        const char *var_name, const char *mode_str,
>                        unsigned usage, unsigned external_usage)



More information about the mesa-dev mailing list