mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
glsl: Fix some bad indentation
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
d4d886a0bc
commit
3f04a1532e
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue