tests/gl_basic_test: add compat/fwdcompat workaround
commit21355febd0195dc59d82f78a6923484649071928
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 25 Mar 2020 17:26:00 +0000 (25 17:26 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 May 2020 17:27:12 +0000 (4 18:27 +0100)
tree456d26fe0dcd3901d202b8fa83fa8d5825295c61
parentd09744aed8c97ccdbb39097f03c0ce42c17ce5f9
tests/gl_basic_test: add compat/fwdcompat workaround

Something funky is happening there, as far as I can tell the following
combination is valid according to the spec:
 --api=gl --profile=compat --forward-compatible

Yet, some drivers (quick check against Mesa 19.3.3 i965+llvmpipe) says
that it's using the core profile, in:
 - the version string, and
 - GL_CONTEXT_PROFILE_MASK

Add respective workarounds for now.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
tests/functional/gl_basic_test.c