Commit: e02e140ef1f43c92d2dfe44ecf0eda4b737a3fad
Author: Clément Foucault
Date:   Thu Jul 18 17:00:33 2019 +0200
Branches: tmp-batch-cache-cleanup
https://developer.blender.org/rBe02e140ef1f43c92d2dfe44ecf0eda4b737a3fad

GPU: Vertex Format: Bump max name per attribute to 6

This is to add pos as an alias to UVs.

===================================================================

M       source/blender/gpu/GPU_vertex_format.h

===================================================================

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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to