avoid memory mismatch if inline uniform values aren't first member of struct
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15536>
memset(zm->key, 0, key->size);
}
if (inline_size)
- memcpy(zm->key + key->size, &key->base, inline_size * sizeof(uint32_t));
+ memcpy(zm->key + key->size, key->base.inlined_uniform_values, inline_size * sizeof(uint32_t));
if (zs->is_generated)
zm->hash = zink_get_tcs_key(ctx)->patch_vertices;
else