From 9ad156374f599aa585b3cc49b54a8d48f10c60d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sun, 10 Mar 2019 03:36:27 +0100 Subject: Fix T60171: Hair Particles Not Displaying in Viewport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- release/datafiles/locale | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/datafiles') diff --git a/release/datafiles/locale b/release/datafiles/locale index 29c22181021..f81ed052157 160000 --- a/release/datafiles/locale +++ b/release/datafiles/locale @@ -1 +1 @@ -Subproject commit 29c2218102135522d6e2cd4bba7ab47d7241ab8a +Subproject commit f81ed052157aff3979763cf25840032d11d261b6 -- cgit v1.2.3