pass vs output semantics to tgsi_mesa_compile_vp_program() to generate output DECs
[mesa.git] / src / mesa / pipe / tgsi / mesa / mesa_to_tgsi.h
index 4c1141e5796837d4afc9f577d0b21d74a75d6f9c..cf85eb9c0b1eba13084f50e23171720d20222637 100644 (file)
@@ -5,18 +5,35 @@
 extern "C" {\r
 #endif // defined __cplusplus\r
 \r
+struct tgsi_token;\r
+\r
 GLboolean\r
 tgsi_mesa_compile_fp_program(\r
    const struct gl_fragment_program *program,\r
+   GLuint numInputs,\r
+   const GLuint inputMapping[],\r
+   const ubyte inputSemanticName[],\r
+   const ubyte inputSemanticIndex[],\r
+   const GLuint interpMode[],\r
+   const GLuint outputMapping[],\r
    struct tgsi_token *tokens,\r
    GLuint maxTokens );\r
 \r
 GLboolean\r
 tgsi_mesa_compile_vp_program(\r
    const struct gl_vertex_program *program,\r
+   GLuint numInputs,\r
+   const GLuint inputMapping[],\r
+   const ubyte inputSemanticName[],\r
+   const ubyte inputSemanticIndex[],\r
+   GLuint numOutputs,\r
+   const GLuint outputMapping[],\r
+   const ubyte outputSemanticName[],\r
+   const ubyte outputSemanticIndex[],\r
    struct tgsi_token *tokens,\r
    GLuint maxTokens );\r
 \r
+\r
 #if defined __cplusplus\r
 } // extern "C"\r
 #endif // defined __cplusplus\r