diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-05 15:44:51 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-05 15:45:39 +0300 |
commit | f6ce2c1f7862ac572582681ef466aef5c8997289 (patch) | |
tree | ffaf3c36777eca83d0a6742576fcffa66a7b1201 /source/blender/draw | |
parent | c944dca127073db103cab380018dfc01b2cbb681 (diff) |
EEVEE-Next: Depth Of Field: Add comment about failed optimization attempt
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_filter_comp.glsl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_filter_comp.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_filter_comp.glsl index bf7c9413da3..c5c0e210109 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_filter_comp.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_filter_comp.glsl @@ -132,7 +132,11 @@ FilterLmhResult filter_lmh(FilterSample s1, FilterSample s2, FilterSample s3) void main() { - /* OPTI(fclem) Could early return on some tiles. */ + /** + * NOTE: We can **NOT** optimize by discarding some tiles as the result is sampled using bilinear + * filtering in the resolve pass. Not outputing to a tile means that border texels have undefined + * value and tile border will be noticeable in the final image. + */ cache_init(); |