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: Unresolved
    • P3: Somewhat important
    • None
    • Editors
    • Kubuntu 14.10 Qt5 from git, qt creator from git. Builded with linux-clang-libc++.

    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

        For Gerrit Dashboard: QTCREATORBUG-12784
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change