diff options
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r-- | src/mesa/main/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index f1f621c6b82..f537a539e6d 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -165,6 +165,14 @@ #define MAX_NV_FRAGMENT_PROGRAM_OUTPUTS 3 #define MAX_NV_FRAGMENT_PROGRAM_WRITE_ONLYS 2 +/* GL_ARB_vertex_program */ +#define MAX_VERTEX_PROGRAM_ADDRESS_REGS 1 + +/* GL_ARB_fragment_program */ +#define MAX_FRAGMENT_PROGRAM_ADDRESS_REGS 1 +#define MAX_FRAGMENT_PROGRAM_ALU_INSTRUCTIONS 48 +#define MAX_FRAGMENT_PROGRAM_TEX_INSTRUCTIONS 24 +#define MAX_FRAGMENT_PROGRAM_TEX_INDIRECTIONS 4 /* |