[Mesa-dev] [PATCH 1/6] Scaffolding for ARB_shader_bit_encoding.

Eric Anholt eric at anholt.net
Mon Apr 30 11:26:20 PDT 2012


On Mon, 30 Apr 2012 13:19:01 +0200, Olivier Galibert <galibert at pobox.com> wrote:
> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
> index 1b4bca6..0cfe962 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -592,6 +592,10 @@ void st_init_extensions(struct st_context *st)
>        ctx->Extensions.S3_s3tc = GL_FALSE;
>     }
>  
> +   if (ctx->Const.NativeIntegers) {
> +      ctx->Extensions.ARB_shader_bit_encoding = GL_TRUE;
> +   }

This should probably come as the last patch after the extension is fully
implemented.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120430/fc0e049a/attachment.pgp>


More information about the mesa-dev mailing list