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

Error creating fragment phong shader on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx15
    • jfx14
    • javafx
    • aarch64
    • iOS

      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)

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

              Created:
              Updated:
              Resolved: