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

glsl syntax check doesn't detect correctly uniform buffer object

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P3: Somewhat important
    • Editors
    • Kubuntu 14.10 Qt5 from git, qt creator from git. Builded with linux-clang-libc++.

    • 9fd5a94f8 (master)

    Description

      GlSL seems doesn't know about ubo. For example:

      #version 330 core
      
      in vec4 pos;
      out vec4 fcolor;
      
      uniform test_ubo
      {
          float mouse[2];
          mat4 mvp;
          vec4 color;
      };
      
      void main(void)
      {
          gl_Position = mvp*pos; // Syntax check writes that mvp was not declarated in this scope
          ...
      }
      

      Attachments

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

        Activity

          People

            cstenger Christian Stenger
            maxis11 Maxim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes