Blender Git Commit Log

Git Commits -> Revision 6d8e308

Revision 6d8e308 by Clément Foucault (master)
May 2, 2018, 18:49 (GMT)
GPUShader: Optimize Multisample resolve shader.

Group all fetches together without interleived alu to let compiler optimize.

Also do the color samples only if needed.

Went from 3.86ms to [1.11-2.22]ms [min-max] for the 16samples resolve pass
on my nvidia card.

Commit Details:

Full Hash: 6d8e308eae4c980a093582c29084ae20ee814972
Parent Commit: 1fff3e0
Lines Changed: +93, -36

1 Modified Path:

/source/blender/gpu/shaders/gpu_shader_image_multisample_resolve_frag.glsl (+93, -36) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021