Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-10-03 Thread Kevin Rushforth
Hi Erik, Thank you for filing this. I see the bug has been filed as JI-9044144. Once the incident team finishes reviewing it they will transfer it to the JDK project where it will be publicly visible. -- Kevin Erik De Rijcke wrote: I filed a report but it seems to be under review(?). On W

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-09-29 Thread Erik De Rijcke
I filed a report but it seems to be under review(?). On Wed, Sep 28, 2016 at 6:06 PM, Kevin Rushforth wrote: > I don't find a bug relating to this, so it seems the bug was never filed. > > Can you please file one? > > Thanks. > > -- Kevin > > > > Erik De Rijcke wrote: > >> Hi all, >> >> Any foll

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-09-28 Thread Kevin Rushforth
I don't find a bug relating to this, so it seems the bug was never filed. Can you please file one? Thanks. -- Kevin Erik De Rijcke wrote: Hi all, Any follow up on this? I'm experiencing the same issue here (latest openjfx8 on wayland using mesa egl/gles2). Erik On Wed, Mar 2, 2016 at 6:36

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-09-28 Thread Erik De Rijcke
Hi all, Any follow up on this? I'm experiencing the same issue here (latest openjfx8 on wayland using mesa egl/gles2). Erik On Wed, Mar 2, 2016 at 6:36 PM, Chien Yang wrote: > Hi Maurice, > > Can you please file a JIRA on this issue? > > Thanks, > - Chien > > > On 3/1/16, 11:45 PM, Maurice wro

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-02 Thread Chien Yang
Hi Maurice, Can you please file a JIRA on this issue? Thanks, - Chien On 3/1/16, 11:45 PM, Maurice wrote: Jim, A solution in line of that of Johan Vos [1] works. JavaFX can be run and doesn't crash on startup when compiling the shaders. I think they should be taken into account for at leas

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Maurice
Jim, A solution in line of that of Johan Vos [1] works. JavaFX can be run and doesn't crash on startup when compiling the shaders. I think they should be taken into account for at least JavaFX 9, as it reduces a very serious bug to a possible optimization. Maurice. [1] https://bitbucket.o

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Jim Graham
The thing about this use of pixcoord is that the same information can be supplied much more efficiently as a pair of texture coordinates. The value of pixcoord ends up being a linear equation over the area of the primitive which is exactly what texture coordinate samples give you for free. I

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Maurice
Erik, I've included the generated source code of FillRoundRect_LinearGradient_PAD. I've made the offending lines bold. I've experimented with adding some modifiers, but to no avail. Maurice. #ifdef GL_ES #extension GL_OES_standard_derivatives : enable #ifdef GL_FRAGMENT_PRECISION_HIGH precis

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Erik De Rijcke
I'm not a shader expert either but I have worked (and written some myself) with them, so I'll give my 0.02$ (given that I have no idea what the complete shader looks like) It looks to me like the initialization of a default scoped global (eg Johan's vec2 pixcoord) is done using non constant varia

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-03-01 Thread Maurice
I'm not very familiar with shader coding, but can't this be solved by putting a non-constant modifier in fron of it? I notice other variables are declared as 'varying' or 'uniform'. Maurice. Op 29-02-16 om 20:45 schreef Johan Vos: Hi, It seems to me you might be running in the same issue we

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Maurice
It looks like the same issue indeed and I second the remark "Don't refer to e.g. gl_FragCoord in the header, but put it in main." When running the egl language validator there were additional errors though: ERROR: 0:53: 'texture2D' : no matching overloaded function found WARNING: 0:53: 'return'

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Johan Vos
Hi, It seems to me you might be running in the same issue we had on Android with the recent Adreno drivers: http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-July/017575.html See that thread for discussion, and for a fix-proposal here: https://bitbucket.org/javafxports/8u60-rt/commits/59563

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Chien Yang
Thanks for the information. It is worth filing a JIRA with a detail information of your embedded device at this point. https://wiki.openjdk.java.net/display/OpenJFX/Submitting+a+Bug+Report Thanks, - Chien On 2/29/2016 10:35 AM, Maurice wrote: No, I build them myself from the instructions on th

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Maurice
No, I build them myself from the instructions on the Wiki . Maurice. Op 29-02-16 om 17:49 schreef Chien Yang: I have a quick question. Did you get your embedded JavaFX library from Glueon? http://gluonhq.com/o

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Chien Yang
I have a quick question. Did you get your embedded JavaFX library from Glueon? http://gluonhq.com/open-source/javafxports/downloads/ - Chien On 2/29/16, 7:21 AM, Maurice wrote: Should I file a bug? I can't determine whether this is a client platform issue or a major bug in the EGL that JavaF

Re: GLS language errors (Was: Internal error: Error loading stock shader FillRoundRect_LinearGradient,_PAD on Vivante ARM)

2016-02-29 Thread Maurice
Should I file a bug? I can't determine whether this is a client platform issue or a major bug in the EGL that JavaFX is using. In any case, it does not work on my embedded device. Maurice. Op 28-02-16 om 18:33 schreef Maurice: When I run the glslangValidator on FillRoundRect_LinearGradient_