]> git.tdb.fi Git - libs/gl.git/commit
Rearrange vertex attributes
authorMikko Rasa <tdb@tdb.fi>
Sun, 21 Mar 2021 15:28:59 +0000 (17:28 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 21 Mar 2021 15:49:40 +0000 (17:49 +0200)
commit68b74ce23dd20822b07d79dc25aa0a0a19ef27a5
treef0ca54f7e0872b544bffe4f554202803e2c5a8d8
parentea7832c7c1ffab00cc1168bc8c41375fdd0eae86
Rearrange vertex attributes

Since fixed function is no longer supported, I don't have to care what
attribute number Nvidia gives the fixed function attributes.  The old
layout had weird holes and made custom attributes hard to add; now the
free attributes are neatly at the end.

The duality between standard and generic attributes has been removed.
User-defined attributes now have their own range.  No deprecated
versions have been kept since they would be difficult to support
properly.
blender/io_mspgl/export_mesh.py
shaderlib/msp_interface.glsl
source/builders/vertexbuilder.h
source/core/vertexarray.cpp
source/core/vertexformat.cpp
source/core/vertexformat.h
source/core/vertexsetup.cpp
source/render/instancearray.cpp