glsl: correct typo in GLSL compilation error message
authorAndres Gomez <agomez@igalia.com>
Mon, 7 Jan 2019 13:50:35 +0000 (15:50 +0200)
committerAndres Gomez <agomez@igalia.com>
Mon, 7 Jan 2019 17:07:33 +0000 (19:07 +0200)
v2: Add the "fix" tag (Erik).

Fixes: 037f68d81e1 ("glsl: apply align layout qualifier rules to block offsets")
Cc: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
src/compiler/glsl/ast_to_hir.cpp

index 9199230a7af8fda95a7c1bf7dc91291fe72ebf2e..8fdc1890ab0a0f31ae349b552ceae90b11375fa7 100644 (file)
@@ -7417,7 +7417,7 @@ ast_process_struct_or_iface_block_members(exec_list *instructions,
                   if (member_align == 0 ||
                       member_align & (member_align - 1)) {
                      _mesa_glsl_error(&loc, state, "align layout qualifier "
-                                      "in not a power of 2");
+                                      "is not a power of 2");
                   } else {
                      fields[i].offset = glsl_align(offset, member_align);
                      next_offset = glsl_align(fields[i].offset + size, align);