projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added few more stubs so that control reaches to DestroyDevice().
[mesa.git]
/
src
/
mesa
/
program
/
prog_optimize.h
diff --git
a/src/mesa/program/prog_optimize.h
b/src/mesa/program/prog_optimize.h
index 00f1080449b716e980900bd25a789d5d3a4c9429..fadfd621c55423852798198cd38fc9af62265ab3 100644
(file)
--- a/
src/mesa/program/prog_optimize.h
+++ b/
src/mesa/program/prog_optimize.h
@@
-1,6
+1,5
@@
/*
* Mesa 3-D graphics library
/*
* Mesa 3-D graphics library
- * Version: 7.5
*
* Copyright (C) 2009 VMware, Inc. All Rights Reserved.
*
*
* Copyright (C) 2009 VMware, Inc. All Rights Reserved.
*
@@
-27,9
+26,15
@@
#include "main/config.h"
#include "main/config.h"
-#include "main/
mtypes
.h"
+#include "main/
glheader
.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+struct gl_context;
struct gl_program;
struct prog_instruction;
struct gl_program;
struct prog_instruction;
@@
-41,6
+46,15
@@
_mesa_find_temp_intervals(const struct prog_instruction *instructions,
GLint intEnd[MAX_PROGRAM_TEMPS]);
extern void
GLint intEnd[MAX_PROGRAM_TEMPS]);
extern void
-_mesa_optimize_program(struct gl_context *ctx, struct gl_program *program);
+_mesa_optimize_program(struct gl_program *program, void *mem_ctx);
+
+extern GLboolean
+_mesa_constant_fold(struct gl_program *prog);
+
+
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif