commit | ba2c4662683869ee9f6a6cd3f805b78dce279f08 | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Thu Apr 14 10:30:01 2016 +1200 |
committer | Chris Forbes <chrisforbes@google.com> | Thu Apr 14 10:51:19 2016 +1200 |
tree | 160bf78a5742eca60ea5121ca1a386056a518046 | |
parent | 3f9e8f95b0115e8e67139eec95ee2113038bcb42 [diff] |
layers: only construct stringstreams in error paths These are actually stupidly expensive to construct -- with most of the cost going to the contained std::locale. Added up to about 6% of profile on my machine in `smoke -s` with VK_LAYER_LUNARG_core_validation enabled. Signed-off-by: Chris Forbes <chrisforbes@google.com>