summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_mesa_to_tgsi.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2009-12-14 18:36:33 +0100
committerRoland Scheidegger <sroland@vmware.com>2009-12-14 18:36:33 +0100
commita0127b6ced257919180ba3a1bf534b68d9c750be (patch)
tree2b7393c210947a009b654c07da9c4732cc51bade /src/mesa/state_tracker/st_mesa_to_tgsi.h
parenta08e348a84f57ed5e8bf5888f1ce13934d2ce8fa (diff)
gallium: more work for edgeflags changes
fixes, cleanups, etc. not working yet
Diffstat (limited to 'src/mesa/state_tracker/st_mesa_to_tgsi.h')
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.h b/src/mesa/state_tracker/st_mesa_to_tgsi.h
index dc0362fe79..9dae373ede 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.h
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.h
@@ -30,6 +30,7 @@
#define ST_MESA_TO_TGSI_H
#include "main/mtypes.h"
+#include "tgsi/tgsi_ureg.h"
#if defined __cplusplus
@@ -39,10 +40,11 @@ extern "C" {
struct tgsi_token;
struct gl_program;
-const struct tgsi_token *
+enum pipe_error
st_translate_mesa_program(
GLcontext *ctx,
uint procType,
+ struct ureg_program *ureg,
const struct gl_program *program,
GLuint numInputs,
const GLuint inputMapping[],