gallium: Correctly handle no config context creation
authorElie Tournier <tournier.elie@gmail.com>
Thu, 6 Sep 2018 09:46:32 +0000 (10:46 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 10 Sep 2018 19:30:17 +0000 (15:30 -0400)
commit9179c745f646a85274b7a295ee3577e48f8d0d3f
tree3715cbca0d75df6a1c45bd7bb6fbf9c7a3aca633
parentf6e09db2e613c215257b80f40957d580165b5ddf
gallium: Correctly handle no config context creation

This patch fixes the following Piglit test:
spec@egl_mesa_configless_context@basic
It also fixes few test in a virgl guest.

v2: Evaluate the value of no_config (Ilia)

Suggested-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/state_tracker/st_api.h
src/gallium/state_trackers/dri/dri_screen.c
src/mesa/state_tracker/st_manager.c