gallium: replace // comments with /* */
authorBrian Paul <brianp@vmware.com>
Fri, 2 Oct 2009 13:31:42 +0000 (07:31 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Oct 2009 13:31:42 +0000 (07:31 -0600)
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/draw/draw_pt_post_vs.c
src/gallium/auxiliary/draw/draw_vs_aos.c
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/translate/translate_generic.c
src/gallium/auxiliary/util/u_cpu_detect.c
src/gallium/auxiliary/util/u_debug_profile.c
src/gallium/auxiliary/util/u_debug_symbol.c
src/gallium/drivers/softpipe/sp_fs_sse.c

index 36c882acb759102f2c0b2adf7278a3ba3eab539f..4f13b3e2baddf4935c0e74c5bd3350a4e2902844 100644 (file)
@@ -268,7 +268,7 @@ void cso_release_all( struct cso_context *ctx )
 void cso_destroy_context( struct cso_context *ctx )
 {
    if (ctx) {
-      //cso_release_all( ctx );
+      /*cso_release_all( ctx );*/
       FREE( ctx );
    }
 }
index 00d7197b132985eb967972e42a86edea7b3c4a33..78953bccfc65d20f9e77ae4681e93b6c94742c72 100644 (file)
@@ -210,7 +210,7 @@ void draw_pt_post_vs_prepare( struct pt_post_vs *pvs,
         pvs->run = post_vs_viewport;
    }
    else {
-      //if (opengl) 
+      /* if (opengl) */
       pvs->run = post_vs_cliptest_viewport_gl;
    }
 }
index 62e04a65f30af2721f7365abff2212b5501ce0ee..645d7cccbae6d5c2aa5e15e02be3d52b1aeedb7d 100644 (file)
@@ -891,7 +891,7 @@ static void x87_emit_ex2( struct aos_compilation *cp )
    struct x86_reg st1 = x86_make_reg(file_x87, 1);
    int stack = cp->func->x87_stack;
 
-//   set_fpu_round_neg_inf( cp );
+   /* set_fpu_round_neg_inf( cp ); */
 
    x87_fld(cp->func, st0);      /* a a */
    x87_fprndint( cp->func );   /* int(a) a*/
@@ -1759,14 +1759,14 @@ emit_instruction( struct aos_compilation *cp,
       return emit_SUB(cp, inst);
  
    case TGSI_OPCODE_LRP:
-//      return emit_LERP(cp, inst);
+      /*return emit_LERP(cp, inst);*/
       return FALSE;
 
    case TGSI_OPCODE_FRC:
       return emit_FRC(cp, inst);
 
    case TGSI_OPCODE_CLAMP:
-//      return emit_CLAMP(cp, inst);
+      /*return emit_CLAMP(cp, inst);*/
       return FALSE;
 
    case TGSI_OPCODE_FLR:
index 109ac7c9d63121e4ee6d30bd00d0eebeb925fb13..0d3036348477299ee183eda666d0521bc24e576f 100644 (file)
@@ -584,7 +584,7 @@ fenced_buffer_list_destroy(struct fenced_buffer_list *fenced_list)
    }
 
 #ifdef DEBUG
-   //assert(!fenced_list->numUnfenced);
+   /*assert(!fenced_list->numUnfenced);*/
 #endif
       
    pipe_mutex_unlock(fenced_list->mutex);
index 8d39b64c6c1106dfaae69435a627196fcad0fc07..266e7ee81e67fb81fd18084a2fc46a1ce90156f5 100644 (file)
@@ -217,7 +217,7 @@ ATTRIB( R8G8_SNORM,      2, char, FROM_8_SNORM, TO_8_SNORM )
 ATTRIB( R8_SNORM,        1, char, FROM_8_SNORM, TO_8_SNORM )
 
 ATTRIB( A8R8G8B8_UNORM,       4, ubyte, FROM_8_UNORM, TO_8_UNORM )
-//ATTRIB( R8G8B8A8_UNORM,       4, ubyte, FROM_8_UNORM, TO_8_UNORM )
+/*ATTRIB( R8G8B8A8_UNORM,       4, ubyte, FROM_8_UNORM, TO_8_UNORM )*/
 
 ATTRIB( R32G32B32A32_FIXED,   4, int, FROM_32_FIXED, TO_32_FIXED )
 ATTRIB( R32G32B32_FIXED,      3, int, FROM_32_FIXED, TO_32_FIXED )
index d9f2f8fc288c3825aa6ef05a56f9ba87d525b47f..f78706f4470925d85b0893804b7563c902819333 100644 (file)
@@ -268,7 +268,7 @@ static void check_os_katmai_support(void)
         * and therefore to be safe I'm going to leave this test in here.
         */
        if (__cpu_detect_caps.hasSSE) {
-               //      test_os_katmai_exception_support();
+           /* test_os_katmai_exception_support(); */
        }
 
        /* Restore the original signal handlers.
index 6d8b244c3ac68b1764626cc740a4e6256b8a1a51..d765b501445ebec344578e129cdb32382c4fc199 100644 (file)
@@ -254,7 +254,7 @@ debug_profile_start(void)
 {
    WCHAR *p;
 
-   // increment starting from the less significant digit
+   /* increment starting from the less significant digit */
    p = &wFileName[14];
    while(1) {
       if(*p == '9') {
index 811931f81b009e8e1010b67a614b903db92377c4..417d0cf04c924350ed37dfc4d792d010fb9f7cb8 100644 (file)
@@ -214,7 +214,7 @@ debug_symbol_print_imagehlp(const void *addr)
    HANDLE hProcess;
    BYTE symbolBuffer[1024];
    PIMAGEHLP_SYMBOL pSymbol = (PIMAGEHLP_SYMBOL) symbolBuffer;
-   DWORD dwDisplacement = 0;  // Displacement of the input address, relative to the start of the symbol
+   DWORD dwDisplacement = 0;  /* Displacement of the input address, relative to the start of the symbol */
 
    hProcess = GetCurrentProcess();
 
index f4fa0905d7410a48e54f23a5f193e04181a7cc1f..31ccc3bda9a2434747482a1ac9c0371672b643fe 100644 (file)
@@ -101,7 +101,7 @@ fs_sse_run( const struct sp_fragment_shader *base,
                 machine->Consts,
                  (const float (*)[4])shader->immediates,
                 machine->InterpCoefs
-                //      , &machine->QuadPos
+                /*, &machine->QuadPos*/
       );
 
    return ~(machine->Temps[TGSI_EXEC_TEMP_KILMASK_I].xyzw[TGSI_EXEC_TEMP_KILMASK_C].u[0]);