Mesa (master): glsl: remove remaining tabs in link_uniform_blocks.cpp

Timothy Arceri tarceri at kemper.freedesktop.org
Tue Apr 5 23:56:44 UTC 2016


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

Author: Timothy Arceri <timothy.arceri at collabora.com>
Date:   Sun Apr  3 18:33:40 2016 +1000

glsl: remove remaining tabs in link_uniform_blocks.cpp

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

---

 src/compiler/glsl/link_uniform_blocks.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/compiler/glsl/link_uniform_blocks.cpp b/src/compiler/glsl/link_uniform_blocks.cpp
index 48fc63f..58f22fd 100644
--- a/src/compiler/glsl/link_uniform_blocks.cpp
+++ b/src/compiler/glsl/link_uniform_blocks.cpp
@@ -216,7 +216,7 @@ process_block_array(struct uniform_block_array_elements *ub_array, char **name,
 {
    if (ub_array) {
       for (unsigned j = 0; j < ub_array->num_array_elements; j++) {
-	 size_t new_length = name_length;
+         size_t new_length = name_length;
 
          /* Append the subscript to the current variable name */
          ralloc_asprintf_rewrite_tail(name, &new_length, "[%u]",
@@ -466,7 +466,7 @@ link_uniform_blocks(void *mem_ctx,
 
 bool
 link_uniform_blocks_are_compatible(const gl_uniform_block *a,
-				   const gl_uniform_block *b)
+                                   const gl_uniform_block *b)
 {
    assert(strcmp(a->Name, b->Name) == 0);
 
@@ -489,13 +489,13 @@ link_uniform_blocks_are_compatible(const gl_uniform_block *a,
 
    for (unsigned i = 0; i < a->NumUniforms; i++) {
       if (strcmp(a->Uniforms[i].Name, b->Uniforms[i].Name) != 0)
-	 return false;
+         return false;
 
       if (a->Uniforms[i].Type != b->Uniforms[i].Type)
-	 return false;
+         return false;
 
       if (a->Uniforms[i].RowMajor != b->Uniforms[i].RowMajor)
-	 return false;
+         return false;
    }
 
    return true;




More information about the mesa-commit mailing list