Ivan Gyurdiev : wined3d: Remove detailed traces from map2gl/ input_modifiers functions.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 17 04:46:58 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 8470e54bdf348de66a123840e83e410fb6d01953
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=8470e54bdf348de66a123840e83e410fb6d01953

Author: Ivan Gyurdiev <ivg2 at cornell.edu>
Date:   Wed May 17 02:07:37 2006 -0400

wined3d: Remove detailed traces from map2gl/input_modifiers functions.

---

 dlls/wined3d/pixelshader.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c
index 0b42fe1..b9e06e5 100644
--- a/dlls/wined3d/pixelshader.c
+++ b/dlls/wined3d/pixelshader.c
@@ -860,7 +860,6 @@ inline static int gen_input_modifier_lin
     /* Get register name */
     get_register_name(instr, regstr, constants);
 
-    TRACE(" Register name %s\n", regstr);
     switch (instr & D3DSP_SRCMOD_MASK) {
     case D3DSPSM_NONE:
         strcpy(outregstr, regstr);
@@ -992,7 +991,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG
      BOOL partialprecision = FALSE;
      DWORD shift;
 
-     TRACE("Appending glname %s to tmpLine\n", curOpcode->glname);
      strcpy(tmpLine, curOpcode->glname);
 
      /* Process modifiers */
@@ -1021,7 +1019,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG
 
           /* Generate lines that handle input modifier computation */
           for (i = 1; i < curOpcode->num_params; ++i) {
-              TRACE("(%p) : Param %u token %lx\n", This, i, src[i - 1]);
               if (gen_input_modifier_line(src[i - 1], i - 1, regs[i - 1], tmpOp, This->constants))
                   shader_addline(buffer, tmpOp);
           }
@@ -1035,7 +1032,6 @@ void pshader_hw_map2gl(SHADER_OPCODE_ARG
           /* This function works because of side effects from  gen_input_modifier_line */
           /* Handle input registers */
           for (i = 1; i < curOpcode->num_params; ++i) {
-              TRACE("(%p) : Regs = %s\n", This, regs[i - 1]);
               strcpy(operands[i], regs[i - 1]);
               get_input_register_swizzle(src[i - 1], swzstring);
               strcat(operands[i], swzstring);




More information about the wine-cvs mailing list