summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_execute.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-05-02 18:44:34 -0600
committerBrian <brian@yutani.localnet.net>2007-05-02 18:44:34 -0600
commit62da6a1b3e341e53981e2817595e0eea107fe6cb (patch)
treeef295d0df9d73159102b8dbc0c2e548344d17342 /src/mesa/shader/prog_execute.h
parent77e7535c0f94b94d26aa2e3d7b19c812beaba2ae (diff)
Resuscitate some of the DDX,DDY code.
Only works for program input registers at this time. Good enough for the common case of texcoords, though.
Diffstat (limited to 'src/mesa/shader/prog_execute.h')
-rw-r--r--src/mesa/shader/prog_execute.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_execute.h b/src/mesa/shader/prog_execute.h
index 47845e9111..be29eceeda 100644
--- a/src/mesa/shader/prog_execute.h
+++ b/src/mesa/shader/prog_execute.h
@@ -48,6 +48,9 @@ struct gl_program_machine
/** Fragment Input attributes */
GLfloat (*Attribs)[MAX_WIDTH][4];
+ GLfloat (*DerivX)[4];
+ GLfloat (*DerivY)[4];
+ GLuint NumDeriv; /**< Max index into DerivX/Y arrays */
GLuint CurElement; /**< Index into Attribs arrays */
/** Vertex Input attribs */