Re: [Piglit] [PATCH 2/2] texunits: don't test glTexEnv with unusable texture units

2018-02-08 Thread Brian Paul
Reviewed-by: Brian Paul On Thu, Feb 8, 2018 at 5:59 PM, Marek Olšák wrote: > From: Marek Olšák > > The GL limit is MaxTextureCombinedUnits, but the real usable limit is > MaxTextureCoordUnits. This is probably a spec bug. > > Mesa

[Piglit] [PATCH 2/2] texunits: don't test glTexEnv with unusable texture units

2018-02-08 Thread Marek Olšák
From: Marek Olšák The GL limit is MaxTextureCombinedUnits, but the real usable limit is MaxTextureCoordUnits. This is probably a spec bug. Mesa will ignore glTexEnv calls where unit >= MaxTextureCoordUnits. --- tests/general/texunits.c | 4 ++-- 1 file changed, 2