mesa: remove len argument from _mesa_shader_debug()
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Nov 2015 13:12:59 +0000 (13:12 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 29 Nov 2015 14:41:40 +0000 (14:41 +0000)
commitd37ebed470c6c37abfc6fe42079bff027ff58e9d
tree5fe33072a86946b076a999821d7c9510adc3b6eb
parente714c971aea25323579d34d953bb597a5981bafd
mesa: remove len argument from _mesa_shader_debug()

There was only a single user which was using strlen(buf).
As this function is not user facing (i.e. we don't need to feed back
original length via a callback), we can simplify things.

Suggested-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/glsl_parser_extras.cpp
src/glsl/standalone_scaffolding.cpp
src/glsl/standalone_scaffolding.h
src/mesa/main/errors.c
src/mesa/main/errors.h