diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-07-18 18:00:33 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-07-19 15:38:32 +0300 |
commit | e02e140ef1f43c92d2dfe44ecf0eda4b737a3fad (patch) | |
tree | 60f5d5c88a528546d73cfa23513b479780dce568 | |
parent | a97e5be2aef5a5106c8d27188d1aff8ee575ed72 (diff) |
GPU: Vertex Format: Bump max name per attribute to 6
This is to add pos as an alias to UVs.
-rw-r--r-- | source/blender/gpu/GPU_vertex_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_vertex_format.h b/source/blender/gpu/GPU_vertex_format.h index 3e851a5e98f..21ec3211476 100644 --- a/source/blender/gpu/GPU_vertex_format.h +++ b/source/blender/gpu/GPU_vertex_format.h @@ -31,7 +31,7 @@ #include "BLI_assert.h" #define GPU_VERT_ATTR_MAX_LEN 16 -#define GPU_VERT_ATTR_MAX_NAMES 5 +#define GPU_VERT_ATTR_MAX_NAMES 6 #define GPU_VERT_ATTR_NAME_AVERAGE_LEN 11 #define GPU_VERT_ATTR_NAMES_BUF_LEN ((GPU_VERT_ATTR_NAME_AVERAGE_LEN + 1) * GPU_VERT_ATTR_MAX_LEN) |