glsl: Pass ast_type_qualifier by const reference.
authorMatt Turner <mattst88@gmail.com>
Mon, 23 Nov 2015 22:22:48 +0000 (14:22 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 24 Nov 2015 18:05:33 +0000 (10:05 -0800)
commit5369efe311475f10b4fd6524710a3b3256856e08
tree994b3e94d3f7a49c060943c2ad21c6f49089d7fa
parentf36993b46962eab4446bc1964eb47149751aee26
glsl: Pass ast_type_qualifier by const reference.

Coverity noticed that we were passing this by value, and it's 152 bytes.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/ast.h
src/glsl/ast_type.cpp
src/glsl/glsl_parser_extras.cpp