From: Ian Romanick Date: Wed, 16 Jul 2014 20:02:26 +0000 (-0700) Subject: glsl: Fix some bad indentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f04a1532e972484da8937440509b2d185c642ec;p=mesa.git glsl: Fix some bad indentation Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- diff --git a/src/glsl/link_uniform_blocks.cpp b/src/glsl/link_uniform_blocks.cpp index 53a18c93464..fef3626bf02 100644 --- a/src/glsl/link_uniform_blocks.cpp +++ b/src/glsl/link_uniform_blocks.cpp @@ -92,13 +92,13 @@ private: unsigned len = strlen(close_bracket + 1) + 1; memmove(open_bracket, close_bracket + 1, len); - } else { + } else { v->IndexName = v->Name; } const unsigned alignment = record_type - ? record_type->std140_base_alignment(v->RowMajor) - : type->std140_base_alignment(v->RowMajor); + ? record_type->std140_base_alignment(v->RowMajor) + : type->std140_base_alignment(v->RowMajor); unsigned size = type->std140_size(v->RowMajor); this->offset = glsl_align(this->offset, alignment);