Skip to content

Engage Recomp 0.3.1

Choose a tag to compare

@Rio77 Rio77 released this 25 Nov 03:04
· 5 commits to main since this release

English

Fixes

  • Fixed black flickering shadows on grass and flower fields in Reversed-Z scenes using EQUAL depth test by automatically tracking depth clear/write direction and applying native format/ULP bias tolerance when emulating DEPTH24 on D32_SFLOAT (exec.c, vk.h)
  • Fixed Maxwell shader translator bindless texture descriptor resolution failures (unresolved bindless texture, including MapBlend, MapCloud, and ScreenSpaceAmbientOcclusion) by filtering non-GPR-writing instructions (DEPBAR, KIL, BAR, stores, R2P, predicate setters) and tracking branch-edge predicate guards across SCF_COND, eliminating skipped terrain and sky/cloud draws
  • Fixed false dynamic texture promotion when an unbaselined static texture (data_hash == 0) shared a 4 KB page write (textures.c)
  • Rate-limited per-second audio IPC control log spam (audren:u / IAudioDevice) in ipc.c

Additions

  • Added asynchronous background ASTC texture pre-decode workers triggered on descriptor pool registration (nvnTexturePoolRegisterTexture) with bounded FIFO/memory cache and full hash verification before upload (textures.c, astc.c, objects.c, device.c)
  • Added unit tests for bindless predicate-guarded texel reads and live dynamic frame-delta timing (test_bindless_texel_reads.c, test_engage_live_timing.c)

Changes

  • Upgraded texture_info() descriptor/view/sampler caching to a 4096×2-way fast path keyed by pool generations (NvnDescPool.gen), csnap_id_tab O(1) lookup for immutable compiler constants (const_snap_id), persistent vk_zero_buffer() fast paths for identity rscale and zero tint, single-pass hash_words2 in guest_copy(), and selective vk_pass_barrier() write-stage tracking (exec.c, nvn.h, objects.c)
  • Added smoothed dynamic frame-delta scaling (ENGAGE_DYNAMIC_TIMING) in engage_timing.c to prevent slow-motion movement during localized frame drops while ignoring pause/load spikes
  • Added a bounded free-list cache (COMMAND_COPY_FREE_MAX) for NVN command-list copies in cmdbuf.c

Español

Arreglos

  • Corregido el parpadeo negro de sombras en campos de flores y pasto con Reversed-Z (EQUAL) rastreando automáticamente el sentido del depth (depth_reversed) y aplicando tolerancia nativa por formato/ULP al emular DEPTH24 sobre D32_SFLOAT (exec.c, vk.h)
  • Corregidos los fallos del traductor Maxwell al resolver descriptores de texturas bindless (unresolved bindless texture, incluyendo MapBlend, MapCloud y ScreenSpaceAmbientOcclusion) filtrando instrucciones que no escriben GPR (DEPBAR, KIL, BAR, escrituras, R2P, setters de predicados) y propagando guardas entre aristas SCF_COND, eliminando draws omitidos de terreno y nubes
  • Corregida la falsa promoción a dynamic en texturas estáticas sin línea base (data_hash == 0) al compartir página de 4 KB escrita (textures.c)
  • Limitado el spam de logs por segundo de control IPC de audio (audren:u / IAudioDevice) en ipc.c

Añadidos

  • Añadidos hilos trabajadores asíncronos en segundo plano para pre-decodificación ASTC al registrar texturas en el pool (nvnTexturePoolRegisterTexture), con caché acotada y verificación por hash completo antes de subir a GPU (textures.c, astc.c, objects.c, device.c)
  • Añadidos tests unitarios para lecturas bindless con predicado y temporización dinámica en vivo (test_bindless_texel_reads.c, test_engage_live_timing.c)

Cambios

  • Ampliada la caché rápida de texture_info() a 4096×2 vías indexada por generación del pool (NvnDescPool.gen), búsqueda O(1) csnap_id_tab para constantes inmutables (const_snap_id), rutas persistentes sobre vk_zero_buffer() para rscale unidad y tinte nulo, hash_words2 de una sola pasada en guest_copy() y barreras vk_pass_barrier() selectivas por etapa escrita (exec.c, nvn.h, objects.c)
  • Añadido escalado dinámico suavizado (ENGAGE_DYNAMIC_TIMING) en engage_timing.c para evitar cámara lenta ante caídas puntuales de FPS ignorando saltos de pausa o carga
  • Añadida lista libre acotada (COMMAND_COPY_FREE_MAX) para reutilizar copias de listas de comandos NVN en cmdbuf.c