diff options
author | Andres Gomez <agomez@igalia.com> | 2019-01-07 15:50:35 +0200 |
---|---|---|
committer | Andres Gomez <agomez@igalia.com> | 2019-01-07 19:07:33 +0200 |
commit | 0cc01f45e7294122a2ae171b09ac3375b2a75d83 (patch) | |
tree | eb3446636056b4b887da6de46908f431f1be1920 /src/compiler/glsl | |
parent | 027835b1dad20459b4d6ddc7a4daf1b16ccd9616 (diff) | |
download | mesa-0cc01f45e7294122a2ae171b09ac3375b2a75d83.tar.gz mesa-0cc01f45e7294122a2ae171b09ac3375b2a75d83.tar.bz2 mesa-0cc01f45e7294122a2ae171b09ac3375b2a75d83.zip |
glsl: correct typo in GLSL compilation error message
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>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/ast_to_hir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index 9199230a7af..8fdc1890ab0 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -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); |