Blender Git Loki
Git Commits -> Revision 9ad1563
Revision 9ad1563 by Clément Foucault (master) March 10, 2019, 02:57 (GMT) |
Fix T60171: Hair Particles Not Displaying in Viewport This patch fixes T60171 by adding a dummy read from the `dummy` vertex attribute to `hair_get_pos_tan_binor_time` in `common_hair_lib.glsl`. Confirmed to work on my machine (macOS 10.14.4 Beta, Radeon R?9 M295X). According to my experiments regarding this issue, the problem is triggered when all of the following conditions are met: (a) the shader has no vertex reads; (b) the index buffer is ? 256KiB. I can't really give an explanation of this misbehavior because of the video driver's closed-source nature. Reviewers: fclem Reviewed By: fclem Subscribers: zeddb Maniphest Tasks: T60171 Differential Revision: https://developer.blender.org/D4490 |
Commit Details:
Full Hash: 9ad156374f599aa585b3cc49b54a8d48f10c60d6
Parent Commit: d77b7b0
Lines Changed: +11, -0
1 Modified Path:
/source/blender/draw/modes/shaders/common_hair_lib.glsl (+11, -0) (Diff)