mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Detect Samsung's Vulkan HAL (vulkan.samsung.so) and its sgpu render node alongside PowerVR, and run Xclipse through the same libhybris bridge: - VK_LAYER_DROIDDECK_xclipse (tools/linuxfs/xclipse-layer), built with the glibc preloads and enabled only on Xclipse: sets bionic's environ for the driver's shader compiler, avoids immutable YCbCr samplers in compute layouts, forwards the KHR calibrated-timestamp entry points to the EXT ones, and reports textureCompressionBC and BC4/BC5 filtering over the compat layer's BC emulation. - Upstream DXVK 2.6.2, pinned as a tar.gz component and selected on Xclipse: the driver has 128 bytes of push constants, DXVK 3 needs 256. - android_wlegl accepts a zero stride and passes it through unchanged: Samsung's gralloc records none for GPU-only buffers. Tested on a Galaxy A56 (Xclipse 540, driver 24.0.560): Steam Big Picture and PICO PARK (D3D9).
12 lines
355 B
JSON
12 lines
355 B
JSON
{
|
|
"file_format_version": "1.2.0",
|
|
"layer": {
|
|
"name": "VK_LAYER_DROIDDECK_xclipse",
|
|
"type": "GLOBAL",
|
|
"library_path": "./libVkLayer_droiddeck_xclipse.so",
|
|
"api_version": "1.3.0",
|
|
"implementation_version": "1",
|
|
"description": "Workarounds for Samsung Xclipse drivers loaded through libhybris"
|
|
}
|
|
}
|