Blender Git Commit Log

Git Commits -> Revision d34c5ee

Revision d34c5ee by Jeroen Bakker (master)
April 16, 2020, 14:20 (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: d34c5eec19ad828237cff0916cc23240d0c25aa1
Parent Commit: a1420da
Lines Changed: +4, -1

1 Modified Path:

/source/blender/gpu/intern/gpu_shader_interface.c (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021