diff options
author | Ian Romanick <[email protected]> | 2009-09-25 16:57:38 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-09-25 16:57:38 -0700 |
commit | 8130375e775bd5ba6a47412b0ea8ec9f23dc5972 (patch) | |
tree | 34925730997476c0e8046045551ffc4f0c317116 /src/mesa/main/extensions.c | |
parent | c19482b16f164ce1b6625d18950a4644e5834373 (diff) | |
parent | 09af58d7ed7dfa8f2ce2b881bb849064e136c830 (diff) |
Merge branch 'asm-shader-rework-2'
Conflicts:
src/mesa/shader/program_parse.tab.c
Diffstat (limited to 'src/mesa/main/extensions.c')
-rw-r--r-- | src/mesa/main/extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 6b11aceb5ce..2992abd0751 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -167,6 +167,7 @@ static const struct { { OFF, "GL_NV_blend_square", F(NV_blend_square) }, { OFF, "GL_NV_depth_clamp", F(ARB_depth_clamp) }, { OFF, "GL_NV_fragment_program", F(NV_fragment_program) }, + { OFF, "GL_NV_fragment_program_option", F(NV_fragment_program_option) }, { ON, "GL_NV_light_max_exponent", F(NV_light_max_exponent) }, { OFF, "GL_NV_point_sprite", F(NV_point_sprite) }, { OFF, "GL_NV_texture_env_combine4", F(NV_texture_env_combine4) }, @@ -315,6 +316,9 @@ _mesa_enable_sw_extensions(GLcontext *ctx) #if FEATURE_NV_fragment_program ctx->Extensions.NV_fragment_program = GL_TRUE; #endif +#if FEATURE_NV_fragment_program && FEATURE_ARB_fragment_program + ctx->Extensions.NV_fragment_program_option = GL_TRUE; +#endif ctx->Extensions.SGI_color_matrix = GL_TRUE; ctx->Extensions.SGI_color_table = GL_TRUE; ctx->Extensions.SGI_texture_color_table = GL_TRUE; |