[Mesa-dev] [PATCH] i965: Enable ARB_vertex_type_10f_11f_11f_rev for Gen4/5 also.

Kenneth Graunke kenneth at whitecape.org
Fri Mar 21 04:52:04 PDT 2014


On 03/21/2014 03:00 AM, Chris Forbes wrote:
> Tested on ILK and CTG (with the GL3isms taken out of the piglits).
> 
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
> ---
>  src/mesa/drivers/dri/i965/intel_extensions.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 2a68758..15fcd30 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -201,6 +201,7 @@ intelInitExtensions(struct gl_context *ctx)
>     ctx->Extensions.ARB_vertex_program = true;
>     ctx->Extensions.ARB_vertex_shader = true;
>     ctx->Extensions.ARB_vertex_type_2_10_10_10_rev = true;
> +   ctx->Extensions.ARB_vertex_type_10f_11f_11f_rev = true;
>     ctx->Extensions.EXT_blend_color = true;
>     ctx->Extensions.EXT_blend_equation_separate = true;
>     ctx->Extensions.EXT_blend_func_separate = true;
> @@ -269,7 +270,6 @@ intelInitExtensions(struct gl_context *ctx)
>        ctx->Extensions.ARB_shading_language_packing = true;
>        ctx->Extensions.ARB_texture_multisample = true;
>        ctx->Extensions.ARB_sample_shading = true;
> -      ctx->Extensions.ARB_vertex_type_10f_11f_11f_rev = true;
>        ctx->Extensions.ARB_texture_gather = true;
>  
>        /* Test if the kernel has the ioctl. */
> 

Nice.  I don't see any reason why we wouldn't have done this, other than
not actually trying it.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140321/99b7f1df/attachment.sig>


More information about the mesa-dev mailing list