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

Storage buffers and image load/store should both have a flag in QRhi::Feature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 6.8, 6.9, 6.10
    • Qt RHI
    • None

      Take a test case like tst_QRhi::storageBufferRuntimeSizeGraphics that exercise storage buffer objects. This is available with OpenGL 4.3 and OpenGL ES 3.1. But not OpenGL 4.2. Which is what the OpenGL Compatibility Pack for Windows on ARM provides. (guessing from runs in virtual machines - the web site only seems to mention OpenGL 3.3 in fact?)

      It would need something like
      if (!rhi->isFeatureSupported(QRhi::StorageBuffers))

      { QSKIP etc. }

      But there is no way to test for this with isFeatureSupported() at the moment. This means that the test cannot skip, and so it fails in obscure ways due to the qsb package only containing GLSL 430 shader, and while when running with 4.2 context we only look for up to GLSL 420, naturally.

      Same goes for image load/store, that is only in OpenGL 4.2 (GLSL 420), not earlier.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes