Module: Mesa
Branch: master
Commit: a1b9c4e22a83d2125f66c3a3af3143bc0daee9a4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1b9c4e22a83d2125f66c3a3af3143bc0daee9a4

Author: Richard Li <[email protected]>
Date:   Sun Nov 29 12:28:32 2009 -0500

r600 : clena up a bit for last commit.

---

 src/mesa/drivers/dri/r600/r700_fragprog.h |    4 ++--
 src/mesa/drivers/dri/r600/r700_vertprog.c |   10 ++++------
 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 843de2c..e562bfa 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 7715214..d3d1da7 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)

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to