mesa/src
Timothy Arceri 0e0633ca49 glsl: relax rule on varying matching for shaders older than 4.20
This expands on commit c54c42321e. See the code comment for full
justifications. At the time of the previous commit Ian wanted to
limit the relaxing of the rule to GLSL 3.30 as that was the highest
version of shaders seen in the wild that were having trouble with
the stricter rules.

However since then I've found that the long standing issue with tess
shaders failing to compile in the game 'Layers Of Fear' is due to
this same issue. The game uses 4.10 shaders and also makes use of
explicit varying locations, so here we relax the rule to 4.20 and
make sure to apply the restriction to shaders using varyings with
explicit locations also.

Fixes: c54c42321e ("glsl: relax rule on varying matching for shaders older than 4.00")

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11873>
2021-07-23 03:06:26 +00:00
..
amd radv,radeonsi: Do cube size divide-by-6 lowering in NIR 2021-07-22 14:22:35 -05:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Flip point coordinates because OpenGL 2021-07-11 22:32:41 +00:00
broadcom ci/v3d: add piglit flake test 2021-07-22 16:16:29 +00:00
compiler glsl: relax rule on varying matching for shaders older than 4.20 2021-07-23 03:06:26 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl: add support for EGL_EXT_device_drm_render_node 2021-07-22 17:12:35 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno: Lock access to msm_pipe for RB object suballocation. 2021-07-22 21:45:31 +00:00
gallium draw/llvmpipe: multiply polygon offset units by 2 2021-07-23 01:00:02 +00:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx/drisw: Nerf PutImage when loaderPrivate == NULL 2021-07-15 15:10:17 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/compiler: Handle ternary add in lower_simd_width 2021-07-22 23:38:04 +00:00
loader loader: Handle failure to load DRI driver library 2021-07-13 07:36:17 +00:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa intel/compiler: Rename brw_nir_lower_image_load_store to brw_nir_lower_storage_image 2021-07-21 11:02:15 -07:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost,panvk: Remove broken v4 spilling code 2021-07-22 23:19:54 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util: add workaround for Full Bore 2021-07-22 10:55:28 +00:00
virtio venus: refactor vn_EndCommandBuffer 2021-07-15 00:52:43 +00:00
vulkan vulkan: Update XML and headers to 1.2.185 2021-07-21 20:15:21 +00:00
meson.build meson: Build panfrost with tools=panfrost 2021-07-22 17:55:49 +00:00