Summary: | Failed to parse macro "#line" | ||
---|---|---|---|
Product: | Mesa | Reporter: | Zhaowei Yuan <zhaowei.yuan> |
Component: | glsl-compiler | Assignee: | mesa-dev |
Status: | RESOLVED WONTFIX | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 17.1 | ||
Hardware: | ARM | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Zhaowei Yuan
2018-06-04 08:00:12 UTC
I don't have links to details handy, but sometime between September 20-22, 2017 Khronos voted to make #line expression behavior undefined (including failure to parse), with the intention of making it explicitly an error in future GLSL versions. This test is invalid and should be removed from dEQP. We will not accept patches to implement this behavior in Mesa. Historically, some people shipped a hack to make this invalid test pass: https://github.com/intel/external-mesa/commit/81bb0a1474d98620a69a20396631dc63e324bf34 The right thing to do now is delete the test. As Kenneth said, Khronos voted to consider #line with an expression as undefined behaviour, and thus these tests were removed https://github.com/KhronosGroup/VK-GL-CTS/commit/4ff5a922a15bcdb93e59313221033bee1204be2c |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.