<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 - Wrong shader preprocessor string"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102200">102200</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wrong shader preprocessor string
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>max.augsburg@gmx.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

I have an Intel HD620 graphic Card (Kaby Lake) and I wanted to use an OpenGL
audio plugin. I run Mageia 6 with Mesa 17.1.5 on a 64-bit System.

Here is my Output of glxinfo | grep OpenGL:

"OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.1.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 17.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:"


When I try to load the OpenGL audio plugin obviously the wrong shader
preprocessor string seems to be passed. The following error message is
outputed:

"** INFO: AF210 - System GL Version is: 3.0 Mesa 17.1.5
** INFO: AF210 - System GLSL Version is: 1.30 : #version 100

AF210::GFX_renderer::GFX-VXSHDR-03 failed to compile
0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20,
1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

[...]"


But the developer of the Audio plugin expected accordingly
<a href="https://en.wikipedia.org/wiki/OpenGL_Shading_Language#Versions">https://en.wikipedia.org/wiki/OpenGL_Shading_Language#Versions</a> the following
string at the beginning:

"** INFO: AF210 - System GLSL Version is: 1.30 : #version 130"


Because the System seems not to have Version 1.30 the Audio plugin falls back
to GLSL Version 1.50 which the system doesn't support. 

I don't know whether this is a Mesa Bug. To be honest I have not a hunch about
OpenGL. The audio plugin is OverToneDSP AF-210. A demo can be downloaded from
<a href="https://www.overtonedsp.co.uk/download/download_af210/index.html">https://www.overtonedsp.co.uk/download/download_af210/index.html</a>
You can find my bug report at OvertoneDSP at
<a href="http://www.kvraudio.com/forum/viewtopic.php?f=212&t=489394">http://www.kvraudio.com/forum/viewtopic.php?f=212&t=489394</a>

It would be great if you could help me.

Thanks in advance,
Max</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>