Mesa (master): tgsi: Clean up header file inclusion in tgsi_sanity.h.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Dec 30 09:41:13 UTC 2010
Module: Mesa
Branch: master
Commit: 20a0f342833b61ebbfb0b8c622fd0c18fad59b7d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=20a0f342833b61ebbfb0b8c622fd0c18fad59b7d
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Dec 30 01:40:53 2010 -0800
tgsi: Clean up header file inclusion in tgsi_sanity.h.
---
src/gallium/auxiliary/tgsi/tgsi_sanity.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.h b/src/gallium/auxiliary/tgsi/tgsi_sanity.h
index 73f0f41..707d11e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sanity.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.h
@@ -28,12 +28,14 @@
#ifndef TGSI_SANITY_H
#define TGSI_SANITY_H
-#include "pipe/p_shader_tokens.h"
-
#if defined __cplusplus
extern "C" {
#endif
+#include "pipe/p_compiler.h"
+
+struct tgsi_token;
+
/* Check the given token stream for errors and common mistakes.
* Diagnostic messages are printed out to the debug output, and is
* controlled by the debug option TGSI_PRINT_SANITY (default false).
More information about the mesa-commit
mailing list