This is better in many ways: 1. It doesn't confuse clang format 2. \n doesn't need to be included after preprocessor directives like the version directive. 3. It's using built-in functionality instead of something custom. Raw string literals should be the preferred way to include shader source in C++ files going forward. BUG=angleproject:2157 TEST=angle_end2end_tests Change-Id: I8b236a6e2d5c25d920297e5bc5b5b143eddeba1f Reviewed-on: https://chromium-review.googlesource.com/671046Reviewed-by:Corentin Wallez <cwallez@chromium.org> Reviewed-by:
Jamie Madill <jmadill@chromium.org> Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| WindowTest | Loading commit data... | |
| hello_triangle | Loading commit data... | |
| mip_map_2d | Loading commit data... | |
| multi_texture | Loading commit data... | |
| multi_window | Loading commit data... | |
| multiple_draw_buffers | Loading commit data... | |
| multiview | Loading commit data... | |
| particle_system | Loading commit data... | |
| post_sub_buffer | Loading commit data... | |
| sample_util | Loading commit data... | |
| shader_translator | Loading commit data... | |
| simple_instancing | Loading commit data... | |
| simple_texture_2d | Loading commit data... | |
| simple_texture_cubemap | Loading commit data... | |
| simple_vertex_shader | Loading commit data... | |
| stencil_operations | Loading commit data... | |
| tex_redef_microbench | Loading commit data... | |
| texture_wrap | Loading commit data... | |
| tri_fan_microbench | Loading commit data... | |
| samples.gyp | Loading commit data... |