virtualx-engine/drivers/gles2/shaders
Rémi Verschelde 7bf9787921 SCons: Format buildsystem files with psf/black
Configured for a max line length of 120 characters.

psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:

- Manually wrapped strings will be reflowed, so by using a line length
  of 120 for the sake of preserving readability for our long command
  calls, it also means that some manually wrapped strings are back on
  the same line and should be manually merged again.

- Code generators using string concatenation extensively look awful,
  since black puts each operand on a single line. We need to refactor
  these generators to use more pythonic string formatting, for which
  many options are available (`%`, `format` or f-strings).

- CI checks and a pre-commit hook will be added to ensure that future
  buildsystem changes are well-formatted.

(cherry picked from commit cd4e46ee65)
2020-06-10 15:30:52 +02:00
..
blend_shape.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
canvas.glsl Add MODULATE builtin to canvas item shaders 2020-05-04 00:10:24 +02:00
canvas_shadow.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
copy.glsl fix gles2 broken panorama sky on oculus quest 2019-09-22 18:53:38 +02:00
cube_to_dp.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
cubemap_filter.glsl GLES2: Fix comments in previous commit that broke rendering (!) 2019-03-12 00:26:56 +01:00
effect_blur.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
exposure.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
lens_distorted.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
particles.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
resolve.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
scene.glsl Fix array constructor for lightmaps 2020-01-15 17:41:46 -08:00
screen_space_reflection.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
ssao.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
ssao_blur.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
ssao_minify.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
stdlib.glsl Implemented inverse shader function to GLES2 2019-08-22 08:22:49 +03:00
subsurf_scattering.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
tonemap.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00