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 9256318997a6ef7abf9e1ee621a5c792564dc4a6..cf85eb9c0b1eba13084f50e23171720d20222637 100644 (file)
@@ -10,15 +10,30 @@ struct tgsi_token;
 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