7f81d18ffecabffc7dc000117230631e6f433eae
batch_for_shader.
`batch_for_shader` is an utility function that creates the correct vertex buffer based on the given shader. In the shader interface the `attr_types_` contains the GPUType for each location in the vertex buffer. When using Metal, the `attr_types_` was never updated, resulting in using incorrect or non-existing data types. This patch fixes this by updating the `attr_types_` when building the shader interface. Reviewed By: fclem Differential Revision: https://developer.blender.org/D17042
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
