<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - type mismatch of constant return value"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94488">94488</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>type mismatch of constant return value
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glsl-compiler
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yousry_abdallah@hotmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>