Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3362

Distance field shaders don't compile on some Embedded linux compilers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: Qt 3D Studio 2.4 BETA1
    • Fix Version/s: Qt 3D Studio 2.4
    • Component/s: OpenGL Runtime, Runtime 2.x
    • Labels:
      None
    • Platform/s:
      Linux/Wayland

      Description

      width and height uniforms are passed as float and then divided with an int. Apparently that is a no no.

      I/O: ERROR: 0:149: '==' : wrong operand types no operation '==' exists that takes a left-hand operand of type 'uniform float' and a right operand of type 'const int' (or there is no acceptable conversion)
       I/O: ERROR: 0:149: '/' : wrong operand types no operation '/' exists that takes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion)
       I/O: ERROR: 0:149: '' : wrong operand types no operation '' exists that takes a left-hand operand of type 'const int' and a right operand of type 'const float' (or there is no acceptable conversion)
       I/O: ERROR: 0:176: '' : wrong operand types no operation '' exists that takes a left-hand operand of type 'float' and a right operand of type 'const int' (or there is no acceptable conversion)
       I/O: ERROR: 0:176: '' : wrong operand types no operation '' exists that takes a left-hand operand of type 'const int' and a right operand of type 'float' (or there is no acceptable conversion)
       I/O: ERROR: 5 compilation errors. No code generated.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tuliniemi Jere Tuliniemi
              Reporter:
              e0150566 Janne Koskinen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes