diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-27 09:02:40 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-27 09:02:40 -0600 |
commit | 3cf6644c00ad0b265c64645d0b14de9dc90ba851 (patch) | |
tree | f5ad79ad2cf104aae94bddd13e66d68ae503d503 /src/mesa/state_tracker/st_mesa_to_tgsi.h | |
parent | bafbfb4dce7a10fe91c8e0564750e69358ac9461 (diff) |
Move mesa_to_tgsi.[ch] into state tracker.
Diffstat (limited to 'src/mesa/state_tracker/st_mesa_to_tgsi.h')
-rw-r--r-- | src/mesa/state_tracker/st_mesa_to_tgsi.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.h b/src/mesa/state_tracker/st_mesa_to_tgsi.h new file mode 100644 index 0000000000..13372d75fd --- /dev/null +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.h @@ -0,0 +1,32 @@ +#if !defined MESA_TO_TGSI_H
+#define MESA_TO_TGSI_H
+
+#if defined __cplusplus
+extern "C" {
+#endif // defined __cplusplus
+
+struct tgsi_token;
+
+GLboolean
+tgsi_translate_mesa_program(
+ uint procType,
+ const struct gl_program *program,
+ GLuint numInputs,
+ const GLuint inputMapping[],
+ const ubyte inputSemanticName[],
+ const ubyte inputSemanticIndex[],
+ const GLuint interpMode[],
+ GLuint numOutputs,
+ const GLuint outputMapping[],
+ const ubyte outputSemanticName[],
+ const ubyte outputSemanticIndex[],
+ struct tgsi_token *tokens,
+ GLuint maxTokens );
+
+
+#if defined __cplusplus
+} // extern "C"
+#endif // defined __cplusplus
+
+#endif // !defined MESA_TO_TGSI_H
+
|