diff options
author | Vladislav Egorov <[email protected]> | 2017-05-21 22:49:15 +0200 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-22 12:34:28 +1000 |
commit | b8e792ee25e01ce1e9e4f3ed444f8e1ade8c992e (patch) | |
tree | 1d11443708054eee9b0793a668055ea435aef25a /src/compiler/glsl/lower_subroutine.cpp | |
parent | 1575a8146a33bfddb2e498ce77fa0ca8f0f0c85e (diff) |
glcpp: Avoid unnecessary strcmp()
strcmp() is slow. Initiate comparison with "__LINE__" or "__FILE__"
only if the identifier starts with '_', which is rare.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_subroutine.cpp')
0 files changed, 0 insertions, 0 deletions