From 451f31093e950e2c76e8d7dee3cb097049a906b5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 17 Apr 2003 01:48:19 +0000 Subject: checkpoint: more infrastructure for GL_ARB_vertex/fragment_program. --- src/mesa/main/config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/config.h') diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index f1f621c6b8..f537a539e6 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 /* -- cgit v1.2.3