Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_uniformbuffer.c
| Context not available. | |||||
| while (link != NULL && ((GPUInput *)link->data)->type == GPU_VEC3) { | while (link != NULL && ((GPUInput *)link->data)->type == GPU_VEC3) { | ||||
| LinkData *link_next = link->next; | LinkData *link_next = link->next; | ||||
| /* If GPU_VEC3 is followed by nothing or a GPU_FLOAT, no need for aligment. */ | /* If GPU_VEC3 is followed by nothing or a GPU_FLOAT, no need for alignment. */ | ||||
| if ((link_next == NULL) || | if ((link_next == NULL) || | ||||
| ((GPUInput *)link_next->data)->type == GPU_FLOAT) | ((GPUInput *)link_next->data)->type == GPU_FLOAT) | ||||
| { | { | ||||
| Context not available. | |||||