mesa/src
Timothy Arceri 6c8cc9be12 glsl: default to compat shaders in compat profile
If the shader does not specify "core" or "compatibility" in shaders
above 1.40 we were defaulting these shaders to core shaders when
in a compat profile. Instead default to compat shaders.

This brings us inline with the behaviour of the binary drivers and
fixes a crash on start-up for the game Foundation.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3594

Fixes: c7e3d31b0b ("glsl: fix compat shaders in GLSL 1.40")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6993>
2020-12-30 11:47:49 +11:00
..
amd aco/ra: Fix register allocation for subdword operands 2020-12-29 18:57:10 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom v3dv: fix BO list for TFU jobs 2020-12-17 09:24:36 +01:00
compiler glsl: default to compat shaders in compat profile 2020-12-30 11:47:49 +11:00
drm-shim
egl egl/dri2: fix image loaderPrivate type mixup 2020-12-24 00:05:15 +09:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno freedreno/ir3: remap FRAG_RESULT_COLOR to _DATA* for dual-src blending 2020-12-28 17:33:17 +00:00
gallium intel/isl: move get_tile dims/masks to common isl header 2020-12-30 06:06:33 +10:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx/tests: Fix leaks in the unit tests. 2020-12-15 19:39:29 +00:00
gtest
hgl
imgui
intel intel/isl: move get_tile dims/masks to common isl header 2020-12-30 06:06:33 +10:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi glapi: fix unused-function warning 2020-12-01 16:51:01 +00:00
mesa intel/isl: move get_tile dims/masks to common isl header 2020-12-30 06:06:33 +10:00
microsoft microsoft/clc: Hook up printf 2020-12-28 15:55:08 -08:00
panfrost android: pan/bi: Generate bi_opcodes.{c,h} 2020-12-28 16:30:52 +01:00
util util: add printf specifier shared helper code. 2020-12-29 09:07:23 +10:00
virtio
vulkan vulkan/overlay: add new options to display device/swapchain-format 2020-12-15 08:05:38 +00:00
SConscript
meson.build microsoft/compiler: Add dedicated spirv_to_dxil libraries 2020-12-22 13:28:21 -08:00