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

Marek Olšák maraeo at gmail.com
Mon Oct 17 13:40:04 UTC 2016


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(
-- 
2.7.4



More information about the mesa-dev mailing list