[Mesa-dev] [PATCH] nir: include what we want/need

Jason Ekstrand jason at jlekstrand.net
Tue Nov 24 09:10:30 PST 2015


Assuming you compile-tested,

Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

Thanks!

On Tue, Nov 24, 2015 at 8:30 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Swap core.h with macros.h, as the latter provides the required MAX2
> macro.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/glsl/nir/glsl_types.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/nir/glsl_types.cpp b/src/glsl/nir/glsl_types.cpp
> index 9cc3715..3cf2f03 100644
> --- a/src/glsl/nir/glsl_types.cpp
> +++ b/src/glsl/nir/glsl_types.cpp
> @@ -22,7 +22,7 @@
>   */
>
>  #include <stdio.h>
> -#include "main/core.h" /* for Elements, MAX2 */
> +#include "main/macros.h"
>  #include "glsl_parser_extras.h"
>  #include "glsl_types.h"
>  #include "util/hash_table.h"
> --
> 2.6.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list