Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2019-02-12 19:12:31 +0300
committermano-wii <germano.costa@ig.com.br>2019-02-12 19:12:57 +0300
commita1d440de4a3dc7ac3064c4c6df555be238a646c7 (patch)
tree020507b44427d6b12246129f80fb47f2d773d276 /source/blender/makesrna/intern/rna_particle.c
parent09b40aa03973c3fda6a1f279aab098b6319a54f0 (diff)
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
0 files changed, 0 insertions, 0 deletions