tree-wide: remove trailing backslash
authorEric Engestrom <eric.engestrom@imgtec.com>
Thu, 1 Jun 2017 13:48:06 +0000 (14:48 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 7 Jun 2017 00:18:09 +0000 (01:18 +0100)
Simple search for a backslash followed by two newlines.
If one of the newlines were to be removed, this would cause issues, so
let's just remove these trailing backslashes.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
15 files changed:
src/amd/common/amd_kernel_code_t.h
src/compiler/nir/nir_builder.h
src/gallium/auxiliary/draw/draw_gs_tmp.h
src/gallium/auxiliary/draw/draw_prim_assembler_tmp.h
src/gallium/auxiliary/draw/draw_so_emit_tmp.h
src/gallium/drivers/r600/sb/sb_bc.h
src/gallium/drivers/svga/svga_winsys.h
src/gallium/drivers/swr/rasterizer/memory/ClearTile.cpp
src/intel/compiler/brw_inst.h
src/mesa/drivers/dri/r200/r200_vertprog.c
src/mesa/drivers/x11/xmesaP.h
src/mesa/math/m_debug_util.h
src/mesa/sparc/sparc_matrix.h
src/mesa/x86/mmx_blend.S
src/mesa/x86/read_rgba_span_x86.S

index d0d7809da10523dd0a632e56321ce82aa17aa678..f8e95085181c3855bd390b0d1fdd87ccb82c3213 100644 (file)
@@ -36,7 +36,7 @@
 
 // Gets bits for specified mask from specified src packed instance.
 #define AMD_HSA_BITS_GET(src, mask)                                            \
-  ((src & mask) >> mask ## _SHIFT)                                             \
+  ((src & mask) >> mask ## _SHIFT)
 
 /* Every amd_*_code_t has the following properties, which are composed of
  * a number of bit fields. Every bit field has a mask (AMD_CODE_PROPERTY_*),
index 7dbf8efbb34115eb9eaeaeb6c50e5d294a7373fc..7c65886356d5d79ca6f33353c23fe225efc5e571 100644 (file)
@@ -621,7 +621,7 @@ nir_load_system_value(nir_builder *build, nir_intrinsic_op op, int index)
    nir_load_##name(nir_builder *build)                                   \
    {                                                                     \
       return nir_load_system_value(build, nir_intrinsic_load_##name, 0); \
-   }                                                                     \
+   }
 
 #include "nir_intrinsics.h"
 
index b10bbc413d9de8123a80d2857bedcb0895c4d40b..bf276d38224d2ab5e71214ec0efca57f99b610fc 100644 (file)
@@ -22,7 +22,7 @@
       default:                                                    \
          break;                                                   \
       }                                                           \
-   } while (0)                                                    \
+   } while (0)
 
 #define POINT(i0)                             gs_point(gs,i0)
 #define LINE(flags,i0,i1)                     gs_line(gs,i0,i1)
index bff6d556ed09a47b978961c399e4a015c561cff6..145a8ca74e9070568a3323455dd0ba820d37881f 100644 (file)
@@ -19,7 +19,7 @@
       return;                                                       \
    default:                                                         \
       break;                                                        \
-   }                                                                \
+   }
 
 
 #define POINT(i0)                             prim_point(asmblr, i0)
index 282a52d1c018ab8c5d7d2d069f2f2a5ae9a8ba77..c3a4695c1f2b149739b0548a3b05b2fed8db2251 100644 (file)
@@ -22,7 +22,7 @@
       default:                                                    \
          break;                                                   \
       }                                                           \
-   } while (0)                                                    \
+   } while (0)
 
 #define POINT(i0)                so_point(so,i0)
 #define LINE(flags,i0,i1)        so_line(so,i0,i1)
index 2c662acf914b5e5b9e6a45fea1eeb2db0541906c..fed041cf506739f5ad0e52eae782494df70bf9a5 100644 (file)
@@ -787,7 +787,7 @@ public: \
        } \
        unsigned get_##name() const { \
                return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \
-       } \
+       }
 
 #define BC_RSRVD(fmt, last_bit, first_bit)
 
index 3bb23ce1438e5e03b93bc8d00c55186791fa21b4..376707dbf53afb99a666d3807829a05e0a530e20 100644 (file)
@@ -171,7 +171,7 @@ enum svga_stats_time {
    SVGA_STATS_PREFIX "SamplerView",           \
    SVGA_STATS_PREFIX "SurfaceWriteFlush",     \
    SVGA_STATS_PREFIX "TextureReadback",       \
-   SVGA_STATS_PREFIX "VertexElement"          \
+   SVGA_STATS_PREFIX "VertexElement"
 
 #define SVGA_STATS_TIME_NAMES                       \
    SVGA_STATS_PREFIX "BuffersFlush",                \
index 8a306cdce5a20eed0311759f60f5bd69a5240397..98bf28b21d12745d1ca60883aa201b6615d2a982 100644 (file)
@@ -283,7 +283,7 @@ void SwrStoreHotTileClear(
     sStoreTilesClearColorTable[B10G10R10A2_UINT]      = StoreMacroTileClear<R32G32B32A32_FLOAT, B10G10R10A2_UINT>::StoreClear; \
     sStoreTilesClearColorTable[B10G10R10A2_SINT]      = StoreMacroTileClear<R32G32B32A32_FLOAT, B10G10R10A2_SINT>::StoreClear; \
     sStoreTilesClearColorTable[R8G8B8_UINT]      = StoreMacroTileClear<R32G32B32A32_FLOAT, R8G8B8_UINT>::StoreClear; \
-    sStoreTilesClearColorTable[R8G8B8_SINT]      = StoreMacroTileClear<R32G32B32A32_FLOAT, R8G8B8_SINT>::StoreClear; \
+    sStoreTilesClearColorTable[R8G8B8_SINT]      = StoreMacroTileClear<R32G32B32A32_FLOAT, R8G8B8_SINT>::StoreClear;
 
 //////////////////////////////////////////////////////////////////////////
 /// INIT_STORE_TILES_TABLE - Helper macro for setting up the tables.
@@ -293,7 +293,7 @@ void SwrStoreHotTileClear(
     sStoreTilesClearDepthTable[R32_FLOAT] = StoreMacroTileClear<R32_FLOAT, R32_FLOAT>::StoreClear; \
     sStoreTilesClearDepthTable[R32_FLOAT_X8X24_TYPELESS] = StoreMacroTileClear<R32_FLOAT, R32_FLOAT_X8X24_TYPELESS>::StoreClear; \
     sStoreTilesClearDepthTable[R24_UNORM_X8_TYPELESS] = StoreMacroTileClear<R32_FLOAT, R24_UNORM_X8_TYPELESS>::StoreClear; \
-    sStoreTilesClearDepthTable[R16_UNORM] = StoreMacroTileClear<R32_FLOAT, R16_UNORM>::StoreClear; \
+    sStoreTilesClearDepthTable[R16_UNORM] = StoreMacroTileClear<R32_FLOAT, R16_UNORM>::StoreClear;
 
 //////////////////////////////////////////////////////////////////////////
 /// @brief Sets up tables for ClearTile
index a0b8fb66dd6eae1aebdef3d571683ecb30a374fe..5b2ce32ae4051eedb5ff5eb206fb2c5df35734c9 100644 (file)
@@ -88,7 +88,7 @@ brw_inst_##name(const struct gen_device_info *devinfo,        \
    } else {                                                                  \
       high = hi4;  low = lo4;                                                \
    }                                                                         \
-   assert(((int) high) != -1 && ((int) low) != -1);                          \
+   assert(((int) high) != -1 && ((int) low) != -1);
 
 /* A general macro for cases where the field has moved to several different
  * bit locations across generations.  GCC appears to combine cases where the
index 100b715f9b0607706df72976062b36d7cf43b836..bb8550332b360a0e415505f3dc1c872c20bda457 100644 (file)
@@ -350,7 +350,7 @@ static unsigned long op_operands(enum prog_opcode opcode)
                       ((t_src_class(a.File) == VSF_IN_CLASS_PARAM && \
                         t_src_class(b.File) == VSF_IN_CLASS_PARAM) || \
                        (t_src_class(a.File) == VSF_IN_CLASS_ATTR && \
-                        t_src_class(b.File) == VSF_IN_CLASS_ATTR))) \
+                        t_src_class(b.File) == VSF_IN_CLASS_ATTR)))
 
 /* fglrx on rv250 codes up unused sources as follows:
    unused but necessary sources are same as previous source, zero-ed out.
index 6cd020f2ed3391b22ee1343098db72c04bf94bd3..9320442f46abbafb031715f470774618e82eed76 100644 (file)
@@ -249,7 +249,7 @@ struct xmesa_buffer {
 #define PACK_TRUECOLOR( PIXEL, R, G, B )       \
    PIXEL = xmesa->xm_visual->RtoPixel[R]       \
          | xmesa->xm_visual->GtoPixel[G]       \
-         | xmesa->xm_visual->BtoPixel[B];      \
+         | xmesa->xm_visual->BtoPixel[B];
 
 
 /**
index 25ee029cebc1192ec6aa28ac7cdb4fcfc2b33ce2..4959785093e36def5e5fd2bfb73af0b1fda4e0fc 100644 (file)
@@ -216,7 +216,7 @@ extern char *mesa_profile;
    x = LONG_MAX;                                                       \
    for ( cycle_i = 0 ; cycle_i < 10 ; cycle_i++ ) {                    \
       unsigned long cycle_tmp1, cycle_tmp2;                            \
-      rdtscll(cycle_tmp1);                                             \
+      rdtscll(cycle_tmp1);
 
 #define END_RACE(x)                                                    \
       rdtscll(cycle_tmp2);                                             \
index f677d9bda132b53c332962a97c9b9bdc93dccaa2..6ef0acde69ee22df75ef2469d18f577f6b8211dc 100644 (file)
 #define LDMATRIX_0_5_10(BASE)                  \
        ld      [BASE + ( 0 * 0x4)], M0;        \
        ld      [BASE + ( 5 * 0x4)], M5;        \
-       ld      [BASE + (10 * 0x4)], M10;       \
+       ld      [BASE + (10 * 0x4)], M10;
 
 #define LDMATRIX_0_5_10_12_13_14(BASE)                 \
        ld      [BASE + ( 0 * 0x4)], M0;        \
index eeaf43ea9370e9cd91558942877b746df4ff154d..df736cdaa59158c39e10a103c1e05314deea506b 100644 (file)
@@ -235,7 +235,7 @@ TWO(PUNPCKHWD  ( MA2, MA2 ))                        /*    pa2    |    pa2    |           |
 TWO(PUNPCKHDQ  ( MA2, MA2 ))                    /*    pa2    |    pa2    |    pa2    |    pa2    */
 
 #define GMB_PACK( MS1, MS2 ) \
-    PACKUSWB   ( MS2, MS1 )                    /* sa2 | sb2 | sg2 | sr2 | sa1 | sb1 | sg1 | sr1 */     ;\
+    PACKUSWB   ( MS2, MS1 )                    /* sa2 | sb2 | sg2 | sr2 | sa1 | sb1 | sg1 | sr1 */     ;
 
 #define GMB_STORE(rgba, MSS ) \
 ONE(MOVD       ( MSS, REGIND(rgba) ))          /*     |     |     |     | sa1 | sb1 | sg1 | sr1 */     ;\
index 5def1f859ed4916317f3c643e8e4baf5a1b9decd..0b94f024ec268f2158f0cad1335a887fa1143d6a 100644 (file)
@@ -65,7 +65,7 @@
        movl    (%ebx), %eax ; \
        bswap   %eax          /* ARGB -> BGRA */ ; \
        rorl    $8, %eax      /* BGRA -> ABGR */ ; \
-       movl    %eax, (%ecx)  /* ABGR -> R, G, B, A */ ; \
+       movl    %eax, (%ecx)  /* ABGR -> R, G, B, A */ ;
 
 
 /**