Blender Git Commit Log

Git Commits -> Revision 680c720

Revision 680c720 by Clément Foucault (master)
February 28, 2019, 21:56 (GMT)
Hair Particle: Fix issue on OSX due to hardware accelerated subdivision

Workaround to tranform feedback not working on mac.
On some system it crashes (see T58489) and on some other it outputs
garbage (see T60171).

So instead of using transform feedback we render to a texture,
readback the result to system memory and reupload as VBO data.
It is really not ideal performance wise, but it is the simplest
and the most local workaround that still uses the power of the GPU.

This should fix T59426, T60171 and T58489.

Commit Details:

Full Hash: 680c7209ecf7315a9818923daf62ae9b1cd4c26b
Parent Commit: fbd8c7d
Lines Changed: +113, -4

2 Modified Paths:

/source/blender/draw/intern/draw_hair.c (+98, -2) (Diff)
/source/blender/draw/modes/shaders/common_hair_refine_vert.glsl (+15, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021