diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-16 20:38:46 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-16 20:38:46 +0300 |
commit | 1fa3bd6148e9909527cf0882b201147fa819d835 (patch) | |
tree | 2dd6244c8478ebe6570873e347e775e853b0db04 /source/blender/gpu/intern/gpu_simple_shader.c | |
parent | 89de6e9eac319232366d0909cb1c39a968088672 (diff) |
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.
Diffstat (limited to 'source/blender/gpu/intern/gpu_simple_shader.c')
0 files changed, 0 insertions, 0 deletions