diff options
author | Vladislav Egorov <[email protected]> | 2017-05-21 22:49:17 +0200 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-22 12:34:28 +1000 |
commit | 4a47247523e678a3a9d3939e8a3c217188b99452 (patch) | |
tree | ff701ebd659f0b3efb1f5c450ff72a3d28a023c3 /src/util/ralloc.c | |
parent | b8e792ee25e01ce1e9e4f3ed444f8e1ade8c992e (diff) |
glcpp: Skip unnecessary line continuations removal
Overwhelming majority of shaders don't use line continuations. In my
shader-db only shaders from the Talos Principle and Serious Sam used
them, less than 1% out of all shaders. Optimize for this case, don't
do any copying if no line continuation was found.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/util/ralloc.c')
0 files changed, 0 insertions, 0 deletions