gallium: Remove every double semi-colon
authorJakob Sinclair <sinclair.jakob@openmailbox.org>
Thu, 14 Apr 2016 16:07:40 +0000 (18:07 +0200)
committerChad Versace <chad.versace@intel.com>
Tue, 26 Apr 2016 21:36:29 +0000 (14:36 -0700)
Signed-off-by: Jakob Sinclair <sinclair.jakob@openmailbox.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/ilo/ilo_resource.c
src/gallium/drivers/ilo/shader/ilo_shader_gs.c
src/gallium/drivers/nouveau/codegen/nv50_ir_ssa.cpp
src/gallium/drivers/nouveau/nv30/nv30_vbo.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/swr/rasterizer/core/format_types.h
src/gallium/drivers/swr/rasterizer/memory/StoreTile.cpp
src/gallium/winsys/amdgpu/drm/addrlib/core/addrobject.cpp
src/gallium/winsys/amdgpu/drm/addrlib/r800/egbaddrlib.cpp

index 7d508e7397caa97388251be219ce9808b1cb3fc6..4470c2ac34e229cd515860b803e642ac57fd864e 100644 (file)
@@ -217,7 +217,7 @@ emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring,
                                j = 1;
                        } else {
                                unsigned start = fd_sampler_first_level(&view->base);
-                               unsigned end   = fd_sampler_last_level(&view->base);;
+                               unsigned end   = fd_sampler_last_level(&view->base);
 
                                for (j = 0; j < (end - start + 1); j++) {
                                        struct fd_resource_slice *slice =
index 8c888c529c49d6d128677cb58bc9af27db38b2da..0afbfc69ee065323e8a59057ddbf29ebf27974e4 100644 (file)
@@ -473,7 +473,7 @@ tex_init_image(struct ilo_texture *tex,
    struct ilo_screen *is = ilo_screen(tex->base.screen);
    const struct pipe_resource *templ = &tex->base;
    struct ilo_image *img = &tex->image;
-   struct intel_bo *imported_bo = NULL;;
+   struct intel_bo *imported_bo = NULL;
    struct ilo_image_info info;
 
    tex->image_format = resource_get_image_format(templ,
index aeeb17783759bc5e1a12071702cbdd08811a9b45..92f5da109a9ede1db94b5fde233bbc5f42a8d46a 100644 (file)
@@ -1375,7 +1375,7 @@ ilo_shader_compile_gs(const struct ilo_shader_state *state,
    toy_tgsi_cleanup(&gcc.tgsi);
    toy_compiler_cleanup(&gcc.tc);
 
-   return gcc.shader;;
+   return gcc.shader;
 }
 
 static bool
index 9ea1065b80655ce31ef8397c185f72ca76401376..3d25ad928eff38952933fc3b20cd75e57261d7b8 100644 (file)
@@ -169,7 +169,7 @@ void DominatorTree::build()
    do {
       p = 0;
       for (v = 1; v < count; ++v) {
-         nw = &BasicBlock::get(vert[DOM(v)])->dom;;
+         nw = &BasicBlock::get(vert[DOM(v)])->dom;
          nv = &BasicBlock::get(vert[v])->dom;
          if (nw->getGraph() && !nv->getGraph()) {
             ++p;
index dec3a0bb8565876385d2c457f3f2efaa8c2043b0..bc9b9a16ea88f9a9d414fcebc0e0a9bd6095430f 100644 (file)
@@ -445,7 +445,7 @@ nv30_draw_elements_inline_u32_short(struct nouveau_pushbuf *push,
 
    count >>= 1;
    while (count) {
-      unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN);;
+      unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN);
       count -= npush;
 
       BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush);
index e8ec20f945909c7e20ae002d7b04ef3370cd8cf9..2ab9f92eb8b750c42633cc9cf2172c82e3ff646f 100644 (file)
@@ -1125,7 +1125,7 @@ static void r600_set_sample_mask(struct pipe_context *pipe, unsigned sample_mask
 
 static void r600_update_driver_const_buffers(struct r600_context *rctx)
 {
-       int sh, size;;
+       int sh, size;
        void *ptr;
        struct pipe_constant_buffer cb;
        for (sh = 0; sh < PIPE_SHADER_TYPES; sh++) {
index 9acf846a7f070823974182279464a8e59739f2da..bffb9cc58f763c1f06859095d9a79d3243301c0c 100644 (file)
@@ -1061,13 +1061,13 @@ struct ComponentTraits
         switch (comp)
         {
         case 0:
-            return TypeTraits<X, NumBitsX>::convertSrgb(in);;
+            return TypeTraits<X, NumBitsX>::convertSrgb(in);
         case 1:
-            return TypeTraits<Y, NumBitsY>::convertSrgb(in);;
+            return TypeTraits<Y, NumBitsY>::convertSrgb(in);
         case 2:
-            return TypeTraits<Z, NumBitsZ>::convertSrgb(in);;
+            return TypeTraits<Z, NumBitsZ>::convertSrgb(in);
         case 3:
-            return TypeTraits<W, NumBitsW>::convertSrgb(in);;
+            return TypeTraits<W, NumBitsW>::convertSrgb(in);
         }
         SWR_ASSERT(0);
         return TypeTraits<X, NumBitsX>::convertSrgb(in);
index 419f28b6fcc69fc18356ce12c7e6bc16aa3e6644..706b033d46052af6db6bcc70203eda8498200861 100644 (file)
@@ -753,7 +753,7 @@ struct OptStoreRasterTile< TilingTraits<SWR_TILE_NONE, 8>, SrcFormat, DstFormat
                 ConvertPixelsSOAtoAOS<SrcFormat, DstFormat>::Convert(pSrc, ppRows);
 
                 ppRows[0] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;
-                ppRows[1] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;;
+                ppRows[1] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;
                 pSrc += SRC_BYTES_PER_PIXEL * KNOB_SIMD_WIDTH;
             }
 
@@ -806,7 +806,7 @@ struct OptStoreRasterTile< TilingTraits<SWR_TILE_NONE, 16>, SrcFormat, DstFormat
                 ConvertPixelsSOAtoAOS<SrcFormat, DstFormat>::Convert(pSrc, ppRows);
 
                 ppRows[0] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;
-                ppRows[1] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;;
+                ppRows[1] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;
                 pSrc += SRC_BYTES_PER_PIXEL * KNOB_SIMD_WIDTH;
             }
 
@@ -859,7 +859,7 @@ struct OptStoreRasterTile< TilingTraits<SWR_TILE_NONE, 32>, SrcFormat, DstFormat
                 ConvertPixelsSOAtoAOS<SrcFormat, DstFormat>::Convert(pSrc, ppRows);
 
                 ppRows[0] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;
-                ppRows[1] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;;
+                ppRows[1] += KNOB_SIMD_WIDTH * DST_BYTES_PER_PIXEL / 2;
                 pSrc += SRC_BYTES_PER_PIXEL * KNOB_SIMD_WIDTH;
             }
 
index 863a252fcf1818771ecba294c7d10b7b8b1f453e..369be8c3046d01ca6caf7d21c61354487d207f15 100644 (file)
@@ -115,7 +115,7 @@ VOID* AddrObject::ClientAlloc(
 VOID* AddrObject::AddrMalloc(
     size_t objSize) const   ///< [in] Size to allocate
 {
-    return ClientAlloc(objSize, &m_client);;
+    return ClientAlloc(objSize, &m_client);
 }
 
 /**
index 088b64593ba5426d2f15d6b5f5c4c25ad1e10b80..e53479839e1e98512553f2f8c70f15d66c48c05a 100644 (file)
@@ -3374,7 +3374,7 @@ UINT_64 EgBasedAddrLib::ComputeFmaskAddrFromCoordMicroTiled(
     //
     if (!resolved)
     {
-        effectiveSamples = ComputeFmaskNumPlanesFromNumSamples(numSamples);;
+        effectiveSamples = ComputeFmaskNumPlanesFromNumSamples(numSamples);
         effectiveBpp = numSamples;
 
         //