summaryrefslogtreecommitdiff
path: root/mesa/shader
diff options
context:
space:
mode:
authorLuc Verhaegen <libv@skynet.be>2010-03-13 04:53:12 +0100
committerLuc Verhaegen <libv@skynet.be>2010-03-13 04:53:12 +0100
commit1c2d31f0edac0f81960e21c6b7849cb17549fb09 (patch)
tree4554f8c185a4ebd69c64bda3abc802d4fc3d0d55 /mesa/shader
parent6c5f2b79233343b5b0a2443a70e0aa13c5cb15ae (diff)
DRI SDK headers from mesa 7.7.1 (debian's 7.7-4).HEADmaster
Diffstat (limited to 'mesa/shader')
-rw-r--r--mesa/shader/program.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mesa/shader/program.h b/mesa/shader/program.h
index 56a4191..0187a2c 100644
--- a/mesa/shader/program.h
+++ b/mesa/shader/program.h
@@ -119,8 +119,14 @@ _mesa_combine_programs(GLcontext *ctx,
const struct gl_program *progA,
const struct gl_program *progB);
+extern void
+_mesa_find_used_registers(const struct gl_program *prog,
+ gl_register_file file,
+ GLboolean used[], GLuint usedSize);
+
extern GLint
-_mesa_find_free_register(const struct gl_program *prog, GLuint regFile);
+_mesa_find_free_register(const GLboolean used[],
+ GLuint maxRegs, GLuint firstReg);
extern void
_mesa_postprocess_program(GLcontext *ctx, struct gl_program *prog);