[Mesa-dev] [PATCH 02/10] glsl: add missing include to ir_optimization.h

Matt Turner mattst88 at gmail.com
Thu Apr 26 18:23:27 UTC 2018


On Mon, Apr 9, 2018 at 9:34 PM, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> ---
>  src/compiler/glsl/ir_optimization.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h
> index 81049a479e8..f5d2bea0cd5 100644
> --- a/src/compiler/glsl/ir_optimization.h
> +++ b/src/compiler/glsl/ir_optimization.h
> @@ -30,6 +30,8 @@
>  #ifndef GLSL_IR_OPTIMIZATION_H
>  #define GLSL_IR_OPTIMIZATION_H
>
> +#include "ir.h"
> +

Would be nice to say what this fixed. This file has existed for years
without ever including anything else, so I suspect that the expected
way to use it is to always include it after including ir.h. But that's
admittedly weird, so

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list