Blender Git Commit Log

Git Commits -> Revision 9abacf3

Revision 9abacf3 by Clément Foucault (master)
September 13, 2017, 13:29 (GMT)
Eevee: SSR: Making ray count a define rather than an uniform.

The branching introduced by the uniform caused problems on mesa + AMD in the resolve stage.
This patch create one shader per sample count without branching.
This improves performance of a single ray per pixel case (3.0ms against 3.6ms in my testing)

Commit Details:

Full Hash: 9abacf38fd4f3b0de4b6d9a4644b9cb1155482c9
Parent Commit: 71c1bd1
Lines Changed: +50, -33

2 Modified Paths:

/source/blender/draw/engines/eevee/eevee_effects.c (+17, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+33, -25) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021