Mesa (master): st/mesa: advertise GL_ARB_fragment_program_shadow

Marek Olšák mareko at kemper.freedesktop.org
Sun Jun 6 11:51:18 PDT 2010


Module: Mesa
Branch: master
Commit: aeffba454f8f5bc63bf97c1a0925cfef51af13c2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aeffba454f8f5bc63bf97c1a0925cfef51af13c2

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jun  6 20:49:14 2010 +0200

st/mesa: advertise GL_ARB_fragment_program_shadow

There is nothing driver-specific about this one.
I've also tested it just to be sure.

---

 src/mesa/state_tracker/st_extensions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 8204fef..d0ea89f 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -308,6 +308,7 @@ void st_init_extensions(struct st_context *st)
 
    if (screen->get_param(screen, PIPE_CAP_TEXTURE_SHADOW_MAP)) {
       ctx->Extensions.ARB_depth_texture = GL_TRUE;
+      ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE;
       ctx->Extensions.ARB_shadow = GL_TRUE;
       ctx->Extensions.EXT_shadow_funcs = GL_TRUE;
       /*ctx->Extensions.ARB_shadow_ambient = GL_TRUE;*/



More information about the mesa-commit mailing list