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

Crash when using importScene and shadows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.10, 6.11
    • Quick: 3D
    • None

      Found originally in QtGraphs: qml_injection test with the following error: 

      Combined image sampler duplicates an existing binding number 3
      QRhiShaderResourceBindings(QVarLengthArray(QRhiShaderResourceBinding(binding=0 stage=QFlags(0x1|0x10) type=0 UniformBuffer(buffer=0x2000cd485f0 offset=0 maybeSize=516)), QRhiShaderResourceBinding(binding=1 stage=QFlags(0x1|0x10) type=0 UniformBuffer(buffer=0x2000cd485f0 offset=768 maybeSize=304)), QRhiShaderResourceBinding(binding=2 stage=QFlags(0x1|0x10) type=0 UniformBuffer(buffer=0x2000cd485f0 offset=2304 maybeSize=816)), QRhiShaderResourceBinding(binding=3 stage=QFlags(0x10) type=1 SampledTextures(count=1 texture=0x2000cf89bd0 sampler=0x2000ca909f0)), QRhiShaderResourceBinding(binding=3 stage=QFlags(0x10) type=1 SampledTextures(count=1 texture=0x2000cf89bd0 sampler=0x2000ca909f0)), QRhiShaderResourceBinding(binding=4 stage=QFlags(0x1|0x10) type=1 SampledTextures(count=1 texture=0x2000cf8a8c0 sampler=0x2000ca906d0))))

      The texture in binding 3 referred to the shadow map texture

      The attached example sometimes yields a slightly different error but also crashes

        1. importSceneBug.zip
          2 kB
          Sakaria Pouke
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            spouke Sakaria Pouke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes