Blender Git Loki

Git Commits -> Revision 16a350c

Revision 16a350c by Jeroen Bakker (modifier-panels-ui)
April 16, 2020, 19:29 (GMT)
GPU: Fix Negative Shift

glAttributes also include `gl_` names. These don't have a location and
should be ignored during shader interface creation. Those internal names
received a location of -1 and therefore the bitmasking was undefined.

Users wouldn't notice this, but ASAN warned developers of this situation.
ASAN could quit making ASAN un-usable as most shaders have this issue.

Reviewed By: Cl�ment Foucault`

Differential Revision: https://developer.blender.org/D7448

Commit Details:

Full Hash: 16a350cd49144b1a5e8d3d4c9abbf95cd3da58da
Parent Commit: a22a7f7
Committed By: Julian Eisel
Lines Changed: +4, -1

1 Modified Path:

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