mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 00:40:40 +01:00
mesa: increase MAX_INSTRUCTIONS
This commit is contained in:
parent
d01269a57f
commit
b5e1a93036
1 changed files with 2 additions and 4 deletions
|
|
@ -48,11 +48,9 @@ struct texenvprog_cache_item
|
|||
|
||||
|
||||
/**
|
||||
* This MAX is probably a bit generous, but that's OK. There can be
|
||||
* up to four instructions per texture unit (TEX + 3 for combine),
|
||||
* then there's fog and specular add.
|
||||
* Up to nine instructions per tex unit, plus fog, specular color.
|
||||
*/
|
||||
#define MAX_INSTRUCTIONS ((MAX_TEXTURE_UNITS * 4) + 12)
|
||||
#define MAX_INSTRUCTIONS ((MAX_TEXTURE_UNITS * 9) + 12)
|
||||
|
||||
#define DISASSEM (MESA_VERBOSE & VERBOSE_DISASSEM)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue