r600 : clena up a bit for last commit.
authorRichard Li <richardradeon@gmail.com>
Sun, 29 Nov 2009 17:28:32 +0000 (12:28 -0500)
committerRichard Li <richardradeon@gmail.com>
Sun, 29 Nov 2009 17:33:14 +0000 (12:33 -0500)
src/mesa/drivers/dri/r600/r700_fragprog.h
src/mesa/drivers/dri/r600/r700_vertprog.c

index 843de2c0293c0ab7fca6586ba73adf32859ea37f..e562bfa4789e0dc1163478e16d34e1c634d333b6 100644 (file)
@@ -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);
index 7715214da1a509e099da3a098cffb20cc2e0fb5d..d3d1da79592a52804df82ce0f80ad551fd19cc2d 100644 (file)
@@ -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)