git: openjdk/jfx-sandbox: direct3d12: 3 new changesets

duke duke at openjdk.org
Thu Jan 30 13:42:04 UTC 2025


Changeset: 42e56cd9
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-01-28 15:17:55 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/42e56cd9a193e6ad4dbfece221ca3ea7b280ac31

RingContainer: Align allocation size rather than new tail

On some occasional situations it was possible for Ring Container to
allocate incorrectly aligned segment. This would cause a validation
error on some examples, ex. fx83dfeatures.CheckerMeshViewer.

Solved by aligning allocation size rather than region's new tail.

! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RingContainer.cpp

Changeset: 7059808a
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-01-30 07:40:05 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/7059808ae9e8b34c9296340dc54e7bdac2935866

Add missing object release to NativeMesh/MeshView/PhongMaterial

! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativeMesh.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativeMeshView.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativePhongMaterial.cpp

Changeset: 9f26b847
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-01-30 14:34:24 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/9f26b84730eb456ff0ad2aff2dc49af828245649

Resolve some final issues with GenerateMipmaps

- Fixed incorrect UAV write in MipmapGenComputeShader
- Change Compute Shader sampler to CLAMP addressing mode
- Prevent OOB reads/writes in some cases in MipmapGenCS
- Simplify downsampling cache in MipmapGenCS
- Reduce amount of transition resource barriers in GenerateMipmaps()
- Other minor cosmetic fixes and adjustments

! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativeDevice.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativeTexture.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12MipmapGenComputeShader.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RootSignatureManager.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/hlsl6/MipmapGenCS.hlsl



More information about the openjfx-changes mailing list