projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d967186
)
st/mesa: enable stencil shader export extension if supported
author
Dave Airlie
<airlied@redhat.com>
Tue, 5 Oct 2010 23:36:56 +0000
(09:36 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 12 Oct 2010 23:30:05 +0000
(09:30 +1000)
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 9b09601bbc52fbefacbf8c60de0860e4eca43e2c..0a9614f754148d8edd5f55e2dc30e0ac325ff85f 100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-435,4
+435,8
@@
void st_init_extensions(struct st_context *st)
if (screen->get_param(screen, PIPE_CAP_DEPTH_CLAMP)) {
ctx->Extensions.ARB_depth_clamp = GL_TRUE;
}
+
+ if (screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT)) {
+ ctx->Extensions.ARB_shader_stencil_export = GL_TRUE;
+ }
}