[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


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

            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
float
2016-03-11 11:44:31.236 yaogl[4191:4191] [YAShader] Shader 38 compiled with
errors.

-- 
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