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

Shader compile failure with PickTest3D on i.MX6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description



      I think this is new, looks like a change in the source of one of the shaders ?

      root@nitrogen6x:~/sb/insanity/toys/PickTest3D# javafx -jar dist/*.jar
      Mar 02, 2014 2:19:03 AM com.sun.prism.es2.ES2PhongMaterial lockTextureMaps
      WARNING: Warning: Low on texture resources. Cannot create texture.
      Shader compile log: (185:0) : error : function: 'apply_diffuse' hasn't the corresponding declaration
      (200:0) : error : undefined identifier: 'diffuse'
      (201:0) : error : undefined identifier: 'rez'
      (203:0) : error : undefined identifier: 'rez'
      (203:0) : error : undefined identifier: 'diffuse'

      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:130)
      at com.sun.prism.es2.ES2Context.renderMeshView(ES2Context.java:476)
      at com.sun.prism.es2.ES2MeshView.render(ES2MeshView.java:119)
      at com.sun.javafx.sg.prism.NGShape3D.renderMeshView(NGShape3D.java:179)
      at com.sun.javafx.sg.prism.NGShape3D.renderContent(NGShape3D.java:198)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2067)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1959)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:474)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:327)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:92)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: