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

    • Linux/Wayland

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes