Blender Git Loki

Git Commits -> Revision 1fa3bd6

Revision 1fa3bd6 by Sergey Sharybin (master)
September 16, 2015, 17:38 (GMT)
Fix T46128: High Quality DoF broken

The issue was caused by some special tricks needed to compile OpenSubdiv shader
which was using stupid check whether geometry shader is used or not.

Now made it more explicit call whether special OpenSubdiv trickery is needed or
not.

Its not ideal solution, but it's not really easy to do a proper solution for
this, because while we can do half of the work with if-defs in the shader code
but we'll still need to somewhat define layout of the input blocks which isn't
really doable with current shader version we're using.

Commit Details:

Full Hash: 1fa3bd6148e9909527cf0882b201147fa819d835
Parent Commit: 89de6e9
Lines Changed: +53, -5

3 Modified Paths:

/source/blender/gpu/GPU_extensions.h (+13, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+10, -1) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+30, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021