[Bug 94488] type mismatch of constant return value

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 11 10:52:05 UTC 2016


            Bug ID: 94488
           Summary: type mismatch of constant return value
           Product: Mesa
           Version: 11.1
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: idr at freedesktop.org
          Reporter: yousry_abdallah at hotmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

The following trivial method creates a compile time error:

#version 330 core


float nothing()
    return 0;

2016-03-11 11:44:31.223 yaogl[4191:4191] [YAShader] Configuration: cs:0 vs:37
tcs:0 tes:0 gs:0 fs:38
2016-03-11 11:44:31.226 yaogl[4191:4191] [YAShader] Shader 37 compiled.
2016-03-11 11:44:31.236 yaogl[4191:4191] [YAShader] GLSL compiler error:
0:89(2): error: `return' with wrong type int, in function `nothing' returning
2016-03-11 11:44:31.236 yaogl[4191:4191] [YAShader] Shader 38 compiled with

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/20160311/613f4647/attachment.html>

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