Files
DroidDeck/tools/upscale/layer/VK_LAYER_DROIDDECK_upscale.json
T
The412Banner b4210b5a67 upscale: build the upscaler layer as VK_LAYER_DROIDDECK_upscale
Port of the NeuralScale layer (previous commit) for DroidDeck:

- Layer VK_LAYER_DROIDDECK_upscale, library libVkLayer_droiddeck_upscale.so,
  implicit manifest template (DROIDDECK_UPSCALE=1 / DROIDDECK_UPSCALE_DISABLE=1).
- Settings read as DROIDDECK_UPSCALE_<KEY>, then WINLATOR_FSR4_<KEY>.
- No hardcoded com.winlator.cmod data dir; without a dir frames get the blit
  fallback.
- Compiled NPU graph caches go to <dir>/<htp arch>/ (v79/v81 from HTP_ARCH,
  the SoC properties or the mapped QNN stub) instead of <dir>/v81/.
- The arch stub is loaded from the QNN library search list first, so
  NATIVELIB_DIR is enough without LD_LIBRARY_PATH.
- driverID/driverName are only rewritten with GPU_SPOOF word "1";
  SPOOF_DLSS=1 alone reports RTX vendor/device IDs.
- APK build via app/src/main/cpp/CMakeLists.txt; glibc build for the PRoot
  guest (build-glibc.sh, DD_UPSCALE_NO_ANDROID: QNN stubs, stderr log) in
  the runtime recipe, installed to usr/local/lib/droiddeck-upscale-layer/.
- -Bsymbolic so the exported vkGetInstanceProcAddr is not interposed by a
  libvulkan in the global scope.
- Pack scripts take their paths as arguments.

Seam protocol, buffer sizes, magic values and backend IDs are unchanged.
2026-11-29 22:34:00 -05:00

18 lines
576 B
JSON

{
"file_format_version": "1.2.0",
"layer": {
"name": "VK_LAYER_DROIDDECK_upscale",
"type": "GLOBAL",
"library_path": "libVkLayer_droiddeck_upscale.so",
"api_version": "1.3.275",
"implementation_version": "1",
"description": "In-game upscaler: FSR 4 / FSR 3.1 / XeSS / DLSS calls from the Windows bridge DLLs run on the GPU or the Hexagon NPU",
"enable_environment": {
"DROIDDECK_UPSCALE": "1"
},
"disable_environment": {
"DROIDDECK_UPSCALE_DISABLE": "1"
}
}
}