mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 02:50:35 +01:00
mesa: increase max constants/uniforms to 256 (vec4 vectors)
This commit is contained in:
parent
49a3fabed8
commit
432e9fa852
1 changed files with 2 additions and 2 deletions
|
|
@ -183,14 +183,14 @@
|
|||
|
||||
/** For any program target/extension */
|
||||
/*@{*/
|
||||
#define MAX_PROGRAM_LOCAL_PARAMS 128 /* KW: power of two */
|
||||
#define MAX_PROGRAM_LOCAL_PARAMS 256 /**< per-program constants (power of two) */
|
||||
#define MAX_PROGRAM_ENV_PARAMS 128
|
||||
#define MAX_PROGRAM_MATRICES 8
|
||||
#define MAX_PROGRAM_MATRIX_STACK_DEPTH 4
|
||||
#define MAX_PROGRAM_CALL_DEPTH 8
|
||||
#define MAX_PROGRAM_TEMPS 128
|
||||
#define MAX_PROGRAM_ADDRESS_REGS 2
|
||||
#define MAX_UNIFORMS 128 /**< number of float components */
|
||||
#define MAX_UNIFORMS 256 /**< number of vec4 uniforms */
|
||||
#define MAX_VARYING 8 /**< number of float[4] vectors */
|
||||
#define MAX_SAMPLERS 8
|
||||
#define MAX_PROGRAM_INPUTS 32
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue