[PATCH v3] glamor: check max native ALU instructions

Eric Anholt eric at anholt.net
Thu Feb 5 11:08:42 PST 2015


Olivier Fourdan <ofourdan at redhat.com> writes:

> When using glamor (either in Xephyr or Xwayland) on hardware with too
> low instructions limit, glamor fallbacks to sw due to large shaders.
>
> This makes glamor unbearably slow on such hardware.
>
> Check reported value for GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
> and fail in glamor_init() if the limit is lower than 128.

Reviewed and applied to -next.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150205/2c2c4b21/attachment.sig>


More information about the xorg-devel mailing list