Blender Git Loki

Git Commits -> Revision a1d440d

Revision a1d440d by Germano Cavalcante (master)
February 12, 2019, 16:12 (GMT)
Edit Mode: Fix element selection on some old AMD GPUs

Tested on an `AMD Radeon HD 7570M`.
It seems that a VBO containing only `unsigned bytes` or `unsigned shorts` can't be read correctly in a shader.
Strange that if the index buffer repeats the drawing of the vertices (as was done before rBa04dd15193e6) the problem disappears.
The disadvantage of this solution is that the memory size for a selection VBO increases by about 4 times.
But the loss in optimization is negligible.


Thanks to @fclem for pointing out the possible source of the problem and reviewing the fix.

Commit Details:

Full Hash: a1d440de4a3dc7ac3064c4c6df555be238a646c7
Parent Commit: 09b40aa
Lines Changed: +47, -79

1 Modified Path:

/source/blender/draw/intern/draw_cache_impl_mesh.c (+47, -79) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021