glsl-uniform-out-of-bounds-2: silence warning
commit836d3ace99f6e99acb2f3697fdc27ed5a7e5051b
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 13 Jul 2020 16:26:59 +0000 (13 18:26 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 13 Jul 2020 16:26:59 +0000 (13 18:26 +0200)
tree296f1f27636bcf8d0f5a38db15bcc91cdf59ea29
parent67e817f571162f7955f7fb26e1e300ed279cd291
glsl-uniform-out-of-bounds-2: silence warning

The buffer for the "name"-variable is 99 bytes large, which makes it
look like the name can be much larger than 9 bytes large. So let's just
make the array as large as the maximum string can become with a 98
character name, to silence the compiler.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/338>
tests/shaders/glsl-uniform-out-of-bounds-2.c