mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 12:48:30 +02:00
glsl: correct typo in GLSL compilation error message
v2: Add the "fix" tag (Erik). Fixes:037f68d81e("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> (cherry picked from commit0cc01f45e7)
This commit is contained in:
parent
2f2e8cc2c5
commit
eac2b2161e
1 changed files with 1 additions and 1 deletions
|
|
@ -7423,7 +7423,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue