On Wed, Nov 28, 2012 at 12:08 PM, Chris Forbes <[email protected]> wrote:
> Signed-off-by: Chris Forbes <[email protected]>
> ---
>  docs/GL3.txt                                  | 2 +-
>  src/mesa/drivers/dri/intel/intel_extensions.c | 3 +++
>  2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/docs/GL3.txt b/docs/GL3.txt
> index aebba0b..5d6c451 100644
> --- a/docs/GL3.txt
> +++ b/docs/GL3.txt
> @@ -96,7 +96,7 @@ GL_ARB_sample_shading                                not 
> started
>  GL_ARB_shader_subroutine                             not started
>  GL_ARB_tessellation_shader                           not started
>  GL_ARB_texture_buffer_object_rgb32                   not started
> -GL_ARB_texture_cube_map_array                        DONE (softpipe)
> +GL_ARB_texture_cube_map_array                        DONE (i965, softpipe)
>  GL_ARB_texture_gather                                not started
>  GL_ARB_transform_feedback2                           DONE
>  GL_ARB_transform_feedback3                           DONE
> diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c 
> b/src/mesa/drivers/dri/intel/intel_extensions.c
> index 94332cd..9a48940 100755
> --- a/src/mesa/drivers/dri/intel/intel_extensions.c
> +++ b/src/mesa/drivers/dri/intel/intel_extensions.c
> @@ -113,6 +113,9 @@ intelInitExtensions(struct gl_context *ctx)
>        }
>     }
>
> +   if (intel->gen >= 6)
> +      ctx->Extensions.ARB_texture_cube_map_array = true;
> +
>     if (intel->gen >= 5)
>        ctx->Extensions.EXT_timer_query = true;
>
> --
> 1.8.0.1

There are existing intel->gen >= 6 blocks immediately above and below.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to