Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32899 Update GLSL Editor / Parser
  3. QTCREATORBUG-32685

Qt Creator's built-in GLSL shader editor reports usage of gl_VertexIndex as an error even when using version 450 and qsb is compiling for Vulkan compatibility.

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Editors
    • None

    Description

      Example:

       

      The Bug:

      Qt Creator's built-in GLSL shader editor reports usage of gl_VertexIndex as an error even when using version 450 and qsb is compiling for Vulkan compatibility. This bug is purely visual; the code correctly compiles using qsb and the code works as intended when the application is run.

       

      The Expected Outcome:

      The red line should not exist under built-in keywords when those keywords are defined under the stated version at the top of the file (in this case 450 / Vulkan GLSL).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cstenger Christian Stenger
            laketransport Storm Kiernan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes