[Mesa-dev] [PATCH 9/9] i965: Enable the ARB_transform_feedback2 extension on Gen7+.
Eric Anholt
eric at anholt.net
Tue Oct 22 03:07:50 CEST 2013
Kenneth Graunke <kenneth at whitecape.org> writes:
> All the necessary pieces are now in place.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/mesa/drivers/dri/i965/intel_extensions.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 334be05..c09ee39 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -133,6 +133,10 @@ intelInitExtensions(struct gl_context *ctx)
> ctx->Const.GLSLVersion = 120;
> _mesa_override_glsl_version(ctx);
>
> + if (brw->gen >= 7) {
> + ctx->Extensions.ARB_transform_feedback2 = true;
> + }
If HSW doesn't actually work because the kernel won't let us run the
commands, I think we shouldn't turn it on on hsw.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131021/32d23cab/attachment.pgp>
More information about the mesa-dev
mailing list