[Mesa-dev] [PATCH] st/mesa: expose ARB_shader_texture_lod if SM3 is supported
Brian Paul
brian.e.paul at gmail.com
Fri May 13 07:34:22 PDT 2011
On Mon, May 9, 2011 at 12:36 PM, Marek Olšák <maraeo at gmail.com> wrote:
> This is the only missing piece, everything else is already in place.
>
> ---
> src/mesa/state_tracker/st_extensions.c | 4 ++++
> 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 ad8e6bb..d3aebe5 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;
> + }
> }
> --
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list