Revert "Fix: GPU: Reduce GPU_MAX_ATTR from 15 to 14"

This reverts commit d9caa19ec2.

This commit doesn't compile, and when fixing the issues, doesn't start
blender.
This commit is contained in:
Jeroen Bakker
2024-02-27 13:41:31 +01:00
parent b1636bc781
commit a012aeafd5

View File

@@ -23,9 +23,9 @@ typedef struct GPUShaderCreateInfo GPUShaderCreateInfo;
/** Opaque type hiding #blender::gpu::Shader */
typedef struct GPUShader GPUShader;
/* Hardware limit is 16. Position and Normal attributes are always needed, so we reduce them to 14.
/* Hardware limit is 16. Position attribute is always needed so we reduce to 15.
* This makes sure the GPUVertexFormat name buffer does not overflow. */
#define GPU_MAX_ATTR 14
#define GPU_MAX_ATTR 15
/* Determined by the maximum uniform buffer size divided by chunk size. */
#define GPU_MAX_UNIFORM_ATTR 8