Merge branch 'mesa_7_6_branch'
[mesa.git] / src / mesa / state_tracker / st_mesa_to_tgsi.h
index 77c74644b8b212bdca1e21d65e467d6423dc2d50..c0d1ff59e1f9f76c7c193ebb6e1c24d08c3f0afa 100644 (file)
@@ -39,8 +39,9 @@ extern "C" {
 struct tgsi_token;
 struct gl_program;
 
-GLuint
+const struct tgsi_token *
 st_translate_mesa_program(
+   GLcontext *ctx,
    uint procType,
    const struct gl_program *program,
    GLuint numInputs,
@@ -48,12 +49,15 @@ st_translate_mesa_program(
    const ubyte inputSemanticName[],
    const ubyte inputSemanticIndex[],
    const GLuint interpMode[],
+   const GLbitfield inputFlags[],
    GLuint numOutputs,
    const GLuint outputMapping[],
    const ubyte outputSemanticName[],
    const ubyte outputSemanticIndex[],
-   struct tgsi_token *tokens,
-   GLuint maxTokens );
+   const GLbitfield outputFlags[] );
+
+void
+st_free_tokens(const struct tgsi_token *tokens);
 
 
 #if defined __cplusplus