summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_array_index.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-11-23 11:55:03 -0800
committerKenneth Graunke <[email protected]>2013-12-01 15:32:59 -0800
commite04a97ff23f6e0568c3c21cec8849c6c3fd2077f (patch)
treeb72b2cb8212c46ed8a426cb7e0a214fae3fd0bce /src/glsl/ast_array_index.cpp
parente5e191a6b156710c13bba0bf1fb921e1d098c277 (diff)
glsl: Merge "candidates are: " message to the previous line.
Previously, when we hit a "no matching function" error, it looked like: 0:0(0): error: no matching function for call to `cos()' 0:0(0): error: candidates are: float cos(float) 0:0(0): error: vec2 cos(vec2) 0:0(0): error: vec3 cos(vec3) 0:0(0): error: vec4 cos(vec4) Now it looks like: 0:0(0): error: no matching function for call to `cos()'; candidates are: 0:0(0): error: float cos(float) 0:0(0): error: vec2 cos(vec2) 0:0(0): error: vec3 cos(vec3) 0:0(0): error: vec4 cos(vec4) This is not really any worse and removes the need for the prefix variable. It will also help with the next commit's refactoring. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Chris Forbes <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ast_array_index.cpp')
0 files changed, 0 insertions, 0 deletions