summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/r700_fragprog.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-08-24 17:41:01 -0400
committerAlex Deucher <[email protected]>2009-08-24 17:51:00 -0400
commit8dd151b947c36100f38cf83eca674bd427b23e47 (patch)
treece9a8321cf2c2b015f64cc6dc502d5db03eab97b /src/mesa/drivers/dri/r600/r700_fragprog.h
parentdea10381864269bd6251a8b0af7a88de88296b32 (diff)
r600: code cleanup
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_fragprog.h')
-rw-r--r--src/mesa/drivers/dri/r600/r700_fragprog.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.h b/src/mesa/drivers/dri/r600/r700_fragprog.h
index 9c7813e9084..cbb108d2128 100644
--- a/src/mesa/drivers/dri/r600/r700_fragprog.h
+++ b/src/mesa/drivers/dri/r600/r700_fragprog.h
@@ -49,13 +49,16 @@ struct r700_fragment_program
/* Internal */
void Map_Fragment_Program(r700_AssemblerBase *pAsm,
- struct gl_fragment_program *mesa_fp);
+ struct gl_fragment_program *mesa_fp);
GLboolean Find_Instruction_Dependencies_fp(struct r700_fragment_program *fp,
- struct gl_fragment_program *mesa_fp);
+ struct gl_fragment_program *mesa_fp);
+
+GLboolean r700TranslateFragmentShader(struct r700_fragment_program *fp,
+ struct gl_fragment_program *mesa_vp);
/* Interface */
-extern GLboolean r700TranslateFragmentShader(struct r700_fragment_program *fp,
- struct gl_fragment_program *mesa_vp);
+extern void r700SelectFragmentShader(GLcontext *ctx);
+
extern GLboolean r700SetupFragmentProgram(GLcontext * ctx);
extern void * r700GetActiveFpShaderBo(GLcontext * ctx);