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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user