Mesa (master): tgsi: Clean up header file inclusion in tgsi_text.h.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 30 09:51:47 UTC 2010


Module: Mesa
Branch: master
Commit: 8114cf9ad82860ac5d547e9e04af4e10e854ed6d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8114cf9ad82860ac5d547e9e04af4e10e854ed6d

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Dec 30 01:51:27 2010 -0800

tgsi: Clean up header file inclusion in tgsi_text.h.

---

 src/gallium/auxiliary/tgsi/tgsi_text.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.h b/src/gallium/auxiliary/tgsi/tgsi_text.h
index 8eeeeef..5fe53cf 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.h
@@ -28,12 +28,14 @@
 #ifndef TGSI_TEXT_H
 #define TGSI_TEXT_H
 
-#include "pipe/p_shader_tokens.h"
-
 #if defined __cplusplus
 extern "C" {
 #endif
 
+#include "pipe/p_compiler.h"
+
+struct tgsi_token;
+
 boolean
 tgsi_text_translate(
    const char *text,




More information about the mesa-commit mailing list