commit | a09717c4de08b647657073e806bd1d5964212690 | [log] [tgz] |
---|---|---|
author | Timothy Arceri <tarceri@itsqueeze.com> | Thu Oct 29 14:19:01 2020 +1100 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Oct 29 23:35:58 2020 +0000 |
tree | c1874741ce2180ac6f3e3714afd9ef417091416b | |
parent | ce0b72a13a2890102e1f324c54735079ca3e30f5 [diff] |
glsl: add extra pp tokens workaround and enable for CoR The CTS now tests to make sure these are not allowed. However, previously drivers (including Mesa) would allow them to exist and just issue a warning. Some old applications such as Champions of Regnum seem to depend on this. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/422 Fixes: 43047384c331 ("glsl/glcpp: Promote "extra token at end of directive" from warning to error") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7361>