driconf: add allow_higher_compat_version option
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Feb 2017 15:18:24 +0000 (16:18 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Feb 2017 15:15:32 +0000 (16:15 +0100)
commit9d16f3903e2caddb7f674ca7ab7b1e96cfffbb2b
treed04f78fb450fa43802ae5c137f6cd7f6f6095951
parentd1fae627fa63cf7749d4fb2ebb57ae5b13a7d5ef
driconf: add allow_higher_compat_version option

Mesa currently doesn't allow to create 3.1+ compatibility profiles
mainly because various features are unimplemented and bugs can
happen.

However, some buggy apps request a compat profile without using
any old features unimplemented in mesa, and they fail to start.

This option should help some games to run but it's not enough
for all (eg. Dying Light).

v2: - s/force_compat_profile/allow_higher_compat_version

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/include/state_tracker/st_api.h
src/gallium/state_trackers/dri/dri_screen.c
src/mesa/drivers/dri/common/xmlpool/t_options.h
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/main/mtypes.h
src/mesa/main/version.c
src/mesa/state_tracker/st_extensions.c