diff options
author | Richard Li <richardradeon@gmail.com> | 2009-11-29 12:12:19 -0500 |
---|---|---|
committer | Richard Li <richardradeon@gmail.com> | 2009-11-29 12:33:14 -0500 |
commit | 2db72f329f35ee6e12df3ed472de2ee72cf23399 (patch) | |
tree | 7bbaef50f61b47ec367e94f9c7124ac0e4382266 /src/mesa/drivers/dri/r600/r700_fragprog.h | |
parent | c332525ad3cf8e946e60c3f9b96af525ca4cb71c (diff) |
r600 : add read port allocation for uniform;
mapping ps input based on vs output;
fix bugs including constants updating for vs.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_fragprog.h')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_fragprog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.h b/src/mesa/drivers/dri/r600/r700_fragprog.h index cbb108d212..843de2c029 100644 --- a/src/mesa/drivers/dri/r600/r700_fragprog.h +++ b/src/mesa/drivers/dri/r600/r700_fragprog.h @@ -49,12 +49,14 @@ struct r700_fragment_program /* Internal */ void Map_Fragment_Program(r700_AssemblerBase *pAsm, - struct gl_fragment_program *mesa_fp); + struct gl_fragment_program *mesa_fp, + GLcontext *ctx); //richard glsl nov.27 GLboolean Find_Instruction_Dependencies_fp(struct r700_fragment_program *fp, struct gl_fragment_program *mesa_fp); GLboolean r700TranslateFragmentShader(struct r700_fragment_program *fp, - struct gl_fragment_program *mesa_vp); + struct gl_fragment_program *mesa_vp, + GLcontext *ctx); //richard glsl nov.27 /* Interface */ extern void r700SelectFragmentShader(GLcontext *ctx); |