Integrated: 8357625: Build should generate platform specific shaders

Ambarish Rapte arapte at openjdk.org
Fri Feb 20 00:17:05 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.

This pull request has now been integrated.

Changeset: 682ee492
Author:    Ambarish Rapte <arapte at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/682ee49241a955b80581df25a4b5b8c2e9d41079
Stats:     32 lines in 3 files changed: 22 ins; 1 del; 9 mod

8357625: Build should generate platform specific shaders

Reviewed-by: lkostyra, angorya

-------------

PR: https://git.openjdk.org/jfx/pull/2071


More information about the openjfx-dev mailing list