[Mesa-dev] [PATCH] gallium/tgsi: add missing #include

Nicolai Hähnle nhaehnle at gmail.com
Tue Oct 18 09:14:45 UTC 2016


Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

On 17.10.2016 15:40, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
>  src/gallium/auxiliary/tgsi/tgsi_util.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.h b/src/gallium/auxiliary/tgsi/tgsi_util.h
> index ca07bfd..83a930b 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_util.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_util.h
> @@ -25,20 +25,22 @@
>   *
>   **************************************************************************/
>
>  #ifndef TGSI_UTIL_H
>  #define TGSI_UTIL_H
>
>  #if defined __cplusplus
>  extern "C" {
>  #endif
>
> +#include "pipe/p_shader_tokens.h"
> +
>  struct tgsi_src_register;
>  struct tgsi_full_src_register;
>  struct tgsi_full_instruction;
>
>  void *
>  tgsi_align_128bit(
>     void *unaligned );
>
>  unsigned
>  tgsi_util_get_src_register_swizzle(
>


More information about the mesa-dev mailing list