summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_execute.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-24 13:04:04 -0700
committerBrian Paul <[email protected]>2008-11-24 13:05:54 -0700
commitb730d0d3e9b202b17a0815cb820fc9905f35cb98 (patch)
treef2bba95c89dd434b0e3bdc598de7d361d59b114c /src/mesa/shader/prog_execute.h
parentd52e8543b61ec5b8b8d9b1574a28ae2472fe4c56 (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.
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 18b13e11a41..8ceb7b092e8 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.
*/