util: add dri config option force_compat_shaders
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 3 Dec 2021 09:53:46 +0000 (20:53 +1100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Dec 2021 02:53:04 +0000 (02:53 +0000)
commitf225e0679ad1f3ce13c55ea7f80486ff7b461969
tree26234d32dddd6c3200b3535d67c94dccc2f01f5f
parent2d7c25fb9dc037fbbeec9807a3864070f2b76c5d
util: add dri config option force_compat_shaders

This allows us to force all shaders to offer shader features only
provided to compatibility shaders.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14040>
src/compiler/glsl/glsl_parser_extras.cpp
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/auxiliary/util/u_driconf.c
src/gallium/include/frontend/api.h
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_extensions.c
src/util/driconf.h