llvmpipe: change LP_MAX_SHADER_INSTRUCTIONS limit definition.
authorRoland Scheidegger <sroland@vmware.com>
Thu, 8 May 2014 14:25:47 +0000 (16:25 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 8 May 2014 14:26:49 +0000 (16:26 +0200)
commitcf93f8695770ef1c4274857f02739d2a338a4237
treee3939206e3d59adf9890d9059c9a4561d98a0192
parent9af68e9b1d116cdc8eb6a22bac091fe4716679e6
llvmpipe: change LP_MAX_SHADER_INSTRUCTIONS limit definition.

When the limit was changed to be defined in terms of LP_MAX_SHADER_VARIANTS
(75f1fea14f524ef05e980d825fda3ae226ae2ffe) when it was increased, this
inadvertently lowered the limit in some branches (that have a lower
LP_MAX_SHADER_VARIANTS number) when merged. So, make sure the limit is always
at least the number it once was.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_limits.h