mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 00:20:27 +01:00
agx: Fix AGX_MAX_CF_BINDINGS
Potentially could be larger with aliasing of component offsets, though that would be silly. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21266>
This commit is contained in:
parent
fbe8878dcb
commit
eeae9b93de
1 changed files with 4 additions and 2 deletions
|
|
@ -49,8 +49,10 @@ struct agx_varyings_vs {
|
|||
unsigned slots[VARYING_SLOT_MAX];
|
||||
};
|
||||
|
||||
/* Conservative bound */
|
||||
#define AGX_MAX_CF_BINDINGS (VARYING_SLOT_MAX)
|
||||
/* Conservative bound, * 4 due to offsets (TODO: maybe worth eliminating
|
||||
* coefficient register aliasing?)
|
||||
*/
|
||||
#define AGX_MAX_CF_BINDINGS (VARYING_SLOT_MAX * 4)
|
||||
|
||||
struct agx_varyings_fs {
|
||||
/* Number of coefficient registers used */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue