projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb2a152
)
st/mesa: advertise GL_ARB_fragment_program_shadow
author
Marek Olšák
<maraeo@gmail.com>
Sun, 6 Jun 2010 18:49:14 +0000
(20:49 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 6 Jun 2010 18:50:29 +0000
(20:50 +0200)
There is nothing driver-specific about this one.
I've also tested it just to be sure.
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 8204fefc4c6175b957aef7e862cad469bfd40792..d0ea89f4f4f23a6058005c84535c2111c59dafbe 100644
(file)
--- 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;*/