diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-03-10 05:36:27 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-03-10 05:57:27 +0300 |
commit | 9ad156374f599aa585b3cc49b54a8d48f10c60d6 (patch) | |
tree | aa3fb52f09d5ef1f4f5cfe96b647809858aee41c /release/scripts/addons_contrib | |
parent | d77b7b097d3411a0d28e579bb2d67c8dfa8d04c7 (diff) |
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 R9 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
Diffstat (limited to 'release/scripts/addons_contrib')
m--------- | release/scripts/addons_contrib | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib -Subproject 3a80a18ea081ff93f4b3672120b446b7adc93e8 +Subproject fecc0db5600405a0c14c70120ae279222861ef8 |