projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: ensure UsesFogFragCoord value is set for non-glsl shaders
[mesa.git]
/
src
/
mesa
/
shader
/
prog_execute.h
diff --git
a/src/mesa/shader/prog_execute.h
b/src/mesa/shader/prog_execute.h
index 18b13e11a41d02eb3e33b6347e929f8c770d9a3c..adefc5439dea2bf273518c061eb0f793400e8da1 100644
(file)
--- 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
#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]);
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]);
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.
*/
/**
* Virtual machine state used during execution of vertex/fragment programs.
*/
@@
-75,7
+73,7
@@
struct gl_program_machine
extern void
extern void
-_mesa_get_program_register(GLcontext *ctx,
enum
register_file file,
+_mesa_get_program_register(GLcontext *ctx,
gl_
register_file file,
GLuint index, GLfloat val[4]);
extern GLboolean
GLuint index, GLfloat val[4]);
extern GLboolean