summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-06 21:59:23 +0200
committerMarek Olšák <[email protected]>2011-05-13 17:57:56 +0200
commite28e3a774c0a32201d0f78a236db8c19f85b311c (patch)
tree8b396fbc962106f194ce127621d08c6aecf9b4d1
parentfae77579ad5f9ab0fd805c0fe9519b29d771bb42 (diff)
st/mesa: expose ARB_shader_texture_lod if SM3 is supported
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r--src/mesa/state_tracker/st_extensions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index ad8e6bb9ec9..d3aebe526dd 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -603,4 +603,8 @@ void st_init_extensions(struct st_context *st)
else if (screen->get_param(screen, PIPE_CAP_SEAMLESS_CUBE_MAP)) {
ctx->Extensions.ARB_seamless_cube_map = GL_TRUE;
}
+
+ if (screen->get_param(screen, PIPE_CAP_SM3)) {
+ ctx->Extensions.ARB_shader_texture_lod = GL_TRUE;
+ }
}