mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
st/mesa: expose ARB_shader_texture_lod if SM3 is supported
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
fae77579ad
commit
e28e3a774c
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue