[Mesa-dev] [Bug 106807] Failed to parser macor "#line"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 4 08:00:12 UTC 2018


            Bug ID: 106807
           Summary: Failed to parser macor "#line"
           Product: Mesa
           Version: 17.1
          Hardware: ARM
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: zhaowei.yuan at samsung.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

GLES CTS test case:
checks if GLSL compiler can parse macro "#line" successfully, following is the
shader code:
    precision mediump float;
    attribute highp vec4 dEQP_Position;
    varying float out0;

    void main()
        #line +20
        out0 = float(__LINE__);
        gl_Position = dEQP_Position;


yyerror() will be called while parsing #line which casue the case fails

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180604/45eed0cd/attachment-0001.html>

More information about the mesa-dev mailing list