RFR: 8357625: Build should generate platform specific shaders
Andy Goryachev
angorya at openjdk.org
Fri Feb 13 17:52:46 UTC 2026
On Wed, 11 Feb 2026 11:36:45 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:
> On a given platform, the build generates prism and decora shader files for all platforms.
> Ideally it should generate only the platform specific shader files.
>
> Fix:
> Generate only platform specific hardware shaders.
> sw pipeline shaders must be generated for all platforms.
>
> But the hardware shaders, should be as:
> 1. Mac platform : metal and es2 shaders
> 2. Win platform: d3d shaders and if IS_INCLUDE_ES2 is true then es2 shaders as well
> 3. Linux : only es2 shaders
>
> Verification:
> Verified that the shaders are generated as expected.
> headul tests pass, apps launch correctly.
The headful test run failed on macOS 26.2 in one spot:
[junit] Testcase: testFilePlaysWithoutNativeCrash(jdk8214808.JDK8214808Test): Caused an ERROR
[junit] test timed out after 15000 milliseconds
[junit] org.junit.runners.model.TestTimedOutException: test timed out after 15000 milliseconds
[junit] at java.base/java.lang.Object.wait0(Native Method)
[junit] at java.base/java.lang.Object.wait(Object.java:389)
[junit] at java.base/java.lang.Object.wait(Object.java:351)
[junit] at jdk8214808.JDK8214808Test.testFilePlaysWithoutNativeCrash(JDK8214808Test.java:88)
[junit] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[junit] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
[junit] at java.base/java.lang.Thread.run(Thread.java:1474)
[junit]
[junit]
[junit] Test jdk8214808.JDK8214808Test FAILED
the command used to run the test:
(git reflog -1; gradle --continue -PFULL_TEST=true -PUSE_ROBOT=true cleanTest test --no-daemon -x :web:test --info 2>&1) | tee ~/`date +"test-%Y-%m%d-%H%M%S"`.log
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2071#issuecomment-3898508874
More information about the openjfx-dev
mailing list