diff options
author | Alejandro Piñeiro <[email protected]> | 2016-04-19 11:17:27 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2016-05-26 08:39:17 +0200 |
commit | 66ff04322e80d14d9b1c8a4d1ef8cf63440242af (patch) | |
tree | 394c200bcb82a83b5745671f6cb39b3984eee290 /src/compiler/glsl/ast_expr.cpp | |
parent | b9f90ef652dae687a5aff97f9132b374320638a5 (diff) |
glsl: do not raise uninitialized warning with out function parameters
It silence by default warnings with function parameters, as the
parameters need to be processed in order to have the actual and the
formal parameter, and the function signature. Then it raises the
warning if needed at verify_parameter_modes where other in/out/inout modes
checks are done.
v2: fix comment style, multi-line condition style, simplify check,
remove extra blank (Ian Romanick)
v3: inout function parameters can raise the warning too (Ian
Romanick)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_expr.cpp')
0 files changed, 0 insertions, 0 deletions