Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55733

OpenGL Compatibility Profile woes with Intel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.8.0 Alpha
    • Fix Version/s: 5.6.2
    • Labels:
      None

      Description

      On platforms where the compatibility profile is available (so OS X does not count here), apps can request a >= 3.2 OpenGL version with QSurfaceFormat::CompatibilityProfile.

      Normally we assume this needs no specific handling because all functions and core-deprecated behavior are available, and GLSL 1.00/1.10 shaders compile normally.

      Sadly, that is not true for Intel drivers. These reject shader sources without a version directive in 4.x compatibility profiles.

      The weird thing is that adding a #version 110 (which is (should be) the default as per spec for OpenGL proper when no version directive is present) makes the error disappear.

      Tested on a Surface Pro 3 with latest MS-endorsed Intel drivers.

      NVIDIA has no such issues.

      Low priority due to a somewhat special case, but there can be valid reasons for choosing a 4.x compat profile over 2.x, and so the expectation for Qt and Quick is to function in such contexts as well.

        Attachments

        For Gerrit Dashboard: QTBUG-55733
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes