Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8237770

Error creating fragment phong shader on iOS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: openjfx14
    • Fix Version/s: openjfx15
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • CPU:
      aarch64
    • OS:
      iOS

      Description

      Trying to render a Sphere on iOS throws a runtime exception with the following error messages:

      Shader compile log: ERROR: 0:79: '' : syntax error: #extension must always be before any non-preprocessor tokens
      ERROR: 0:138: '' : syntax error: #extension must always be before any non-preprocessor tokens
      ERROR: 0:194: '' : syntax error: #extension must always be before any non-preprocessor tokens
      '' : syntax error: #extension must always be before any non-preprocessor tokens

      java.lang.RuntimeException: Error creating fragment shader
      at com.sun.prism.es2.ES2Shader.createFromSource(ES2Shader.java:141)
      at com.sun.prism.es2.ES2PhongShader.getShader(ES2PhongShader.java:177)
        at com.sun.prism.es2.ES2Context.getPhongShader(ES2Context.java:142)
        at com.sun.prism.es2.ES2Context.renderMeshView(ES2Context.java:471)
      at com.sun.prism.es2.ES2MeshView.render(ES2MeshView.java:119)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpereda Jose Pereda
                Reporter:
                jpereda Jose Pereda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: