summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_execute.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 13:04:04 -0700
committerBrian Paul <brianp@vmware.com>2009-01-06 08:54:23 -0700
commita48b004c442ec89905ee1dfdd778c9bca603732c (patch)
tree075e4bb31737eef3da9bcfe3dd0fb424982cbdb5 /src/mesa/shader/prog_execute.h
parent71c900abc76198ecf97e0cd7585ade430827db3f (diff)
mesa: add gl_program::Input/OutputFlags[] array
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. (cherry picked from commit b730d0d3e9b202b17a0815cb820fc9905f35cb98)
Diffstat (limited to 'src/mesa/shader/prog_execute.h')
-rw-r--r--src/mesa/shader/prog_execute.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/shader/prog_execute.h b/src/mesa/shader/prog_execute.h
index 18b13e11a4..8ceb7b092e 100644
--- a/src/mesa/shader/prog_execute.h
+++ b/src/mesa/shader/prog_execute.h
@@ -25,6 +25,8 @@
#ifndef PROG_EXECUTE_H
#define PROG_EXECUTE_H
+#include "main/config.h"
+
typedef void (*FetchTexelLodFunc)(GLcontext *ctx, const GLfloat texcoord[4],
GLfloat lambda, GLuint unit, GLfloat color[4]);
@@ -36,10 +38,6 @@ typedef void (*FetchTexelDerivFunc)(GLcontext *ctx, const GLfloat texcoord[4],
GLuint unit, GLfloat color[4]);
-/** The larger of VERT_RESULT_MAX, FRAG_RESULT_MAX */
-#define MAX_PROGRAM_OUTPUTS VERT_RESULT_MAX
-
-
/**
* Virtual machine state used during execution of vertex/fragment programs.
*/