Re: [Piglit] [PATCH 1/3] arb_texture_multisample: don't use hard-coded sample counts

2017-12-05 Thread Brian Paul
On 12/05/2017 10:19 AM, Roland Scheidegger wrote: Am 05.12.2017 um 17:43 schrieb Brian Paul: Instead of using a fixed number of samples, query the GL_MAX_COLOR_TEXTURE_SAMPLES or GL_MAX_DEPTH_TEXTURE_SAMPLES value and use those. Fixes failures with llvmpipe and VMware driver when MSAA is disabl

Re: [Piglit] [PATCH 1/3] arb_texture_multisample: don't use hard-coded sample counts

2017-12-05 Thread Roland Scheidegger
Am 05.12.2017 um 17:43 schrieb Brian Paul: > Instead of using a fixed number of samples, query the > GL_MAX_COLOR_TEXTURE_SAMPLES or GL_MAX_DEPTH_TEXTURE_SAMPLES value > and use those. > > Fixes failures with llvmpipe and VMware driver when MSAA is disabled. > --- > tests/spec/arb_texture_multisa

[Piglit] [PATCH 1/3] arb_texture_multisample: don't use hard-coded sample counts

2017-12-05 Thread Brian Paul
Instead of using a fixed number of samples, query the GL_MAX_COLOR_TEXTURE_SAMPLES or GL_MAX_DEPTH_TEXTURE_SAMPLES value and use those. Fixes failures with llvmpipe and VMware driver when MSAA is disabled. --- tests/spec/arb_texture_multisample/errors.c| 10 +- tests/spec/arb_text