Add GL_FRAGMENT_PRECISION_HIGH check to existing 2D shaders before setting precision to highp

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8u60
    • Affects Version/s: 8u40
    • Component/s: javafx
    • None

      The 2D fragment shaders require explicit precision for floats. The highp precision might not be available on some embedded devices. It is a good practice to use the GL_FRAGMENT_PRECISION_HIGH macro to check for its availability before setting to it.

      https://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf

            Assignee:
            Chien Yang (Inactive)
            Reporter:
            Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: