summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRichard Li <[email protected]>2009-11-29 12:28:32 -0500
committerRichard Li <[email protected]>2009-11-29 12:33:14 -0500
commita1b9c4e22a83d2125f66c3a3af3143bc0daee9a4 (patch)
tree48d1b28d1d5ccf7f9d9c9b72c4a471c14ab5b2ec /src/mesa
parent2db72f329f35ee6e12df3ed472de2ee72cf23399 (diff)
r600 : clena up a bit for last commit.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r600/r700_fragprog.h4
-rw-r--r--src/mesa/drivers/dri/r600/r700_vertprog.c10
2 files changed, 6 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.h b/src/mesa/drivers/dri/r600/r700_fragprog.h
index 843de2c0293..e562bfa4789 100644
--- a/src/mesa/drivers/dri/r600/r700_fragprog.h
+++ b/src/mesa/drivers/dri/r600/r700_fragprog.h
@@ -50,13 +50,13 @@ struct r700_fragment_program
/* Internal */
void Map_Fragment_Program(r700_AssemblerBase *pAsm,
struct gl_fragment_program *mesa_fp,
- GLcontext *ctx); //richard glsl nov.27
+ GLcontext *ctx);
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,
- GLcontext *ctx); //richard glsl nov.27
+ GLcontext *ctx);
/* Interface */
extern void r700SelectFragmentShader(GLcontext *ctx);
diff --git a/src/mesa/drivers/dri/r600/r700_vertprog.c b/src/mesa/drivers/dri/r600/r700_vertprog.c
index 7715214da1a..d3d1da79592 100644
--- a/src/mesa/drivers/dri/r600/r700_vertprog.c
+++ b/src/mesa/drivers/dri/r600/r700_vertprog.c
@@ -631,14 +631,12 @@ GLboolean r700SetupVertexProgram(GLcontext * ctx)
paramList = vp->mesa_program->Base.Parameters;
if(NULL != paramList) {
- //vp->mesa_program was cloned, not updated by glsl shader api.
- //_mesa_reference_program has already checked glsl shProg is ok and set ctx->VertexProgem._Current
- // so, use ctx->VertexProgem._Current
+ /* vp->mesa_program was cloned, not updated by glsl shader api. */
+ /* _mesa_reference_program has already checked glsl shProg is ok and set ctx->VertexProgem._Current */
+ /* so, use ctx->VertexProgem._Current */
struct gl_program_parameter_list *paramListOrginal =
paramListOrginal = ctx->VertexProgram._Current->Base.Parameters;
-
- //---------------------------
-
+
_mesa_load_state_parameters(ctx, paramList);
if (paramList->NumParameters > R700_MAX_DX9_CONSTS)