[PATCH v3] glamor: check max native ALU instructions
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...
Size: 818 bytes
Desc: not available
More information about the xorg-devel