diff options
author | Kenneth Graunke <[email protected]> | 2013-11-23 12:06:24 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-12-01 15:33:00 -0800 |
commit | 5af97b43c962c57aceb9c40d3c9050745d124892 (patch) | |
tree | 37bbbd6dd6b0d33d456ea1469dc26fcb07a2c631 /src/glsl/lower_discard.cpp | |
parent | e04a97ff23f6e0568c3c21cec8849c6c3fd2077f (diff) |
glsl: Drop crazy looping from no_matching_function_error().
Since the built-in functions rewrite, num_builtins_to_link is always either
0 or 1, so we don't need tho crazy loop starting at -1 with a special
case.
All we need to do is print the prototypes from the current shader, and
the single built-in function shader (if present).
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/lower_discard.cpp')
0 files changed, 0 insertions, 0 deletions