[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


https://bugs.freedesktop.org/show_bug.cgi?id=106807

            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:
dEQP-GLES2.functional.shaders.preprocessor.builtin.line_expression_vertex
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 QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180604/549ec3b4/attachment.html>


More information about the intel-3d-bugs mailing list