i956: Fix the old FP path fragment position setup on gen6.
[mesa.git] / src / mesa / state_tracker / st_mesa_to_tgsi.h
index dc0362fe790618dd9ca22235c040cb63b08af416..9bfd4960b604f6b3d4a268c8c51180e71be94162 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "main/mtypes.h"
 
+#include "pipe/p_compiler.h"
+
+struct ureg_program;
 
 #if defined __cplusplus
 extern "C" {
@@ -39,10 +42,11 @@ extern "C" {
 struct tgsi_token;
 struct gl_program;
 
-const struct tgsi_token *
+enum pipe_error
 st_translate_mesa_program(
-   GLcontext *ctx,
+   struct gl_context *ctx,
    uint procType,
+   struct ureg_program *ureg,
    const struct gl_program *program,
    GLuint numInputs,
    const GLuint inputMapping[],
@@ -52,7 +56,8 @@ st_translate_mesa_program(
    GLuint numOutputs,
    const GLuint outputMapping[],
    const ubyte outputSemanticName[],
-   const ubyte outputSemanticIndex[] );
+   const ubyte outputSemanticIndex[],
+   boolean passthrough_edgeflags );
 
 void
 st_free_tokens(const struct tgsi_token *tokens);