EEVEE: Document attribute and property limitations #104697

Merged
Aaron Carlisle merged 1 commits from deadpin/blender-manual:deadpin-patch-1 into blender-v4.1-release 2024-02-18 01:27:41 +01:00

1 Commits

Author SHA1 Message Date
5978470876 EEVEE: Document attribute and property limitations
Related to blender/blender#108534

----
Folks keep running into this it seems so I put the PR together to get things moving.

There looks to be 2 limits but one of them seems a bit broken.

```
/* 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 15

/* Determined by the maximum uniform buffer size divided by chunk size. */
#define GPU_MAX_UNIFORM_ATTR 8
```

The first, from an empirical test seems to indicate 14 useful Geometry Node attributes before the shader "breaks".  Are we off by one somewhere?

The second, from blender/blender#117967, is correctly handled when Custom Object Properties are set.
2024-02-08 08:43:49 +01:00