aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorkraibse <33869366+kraibse@users.noreply.github.com>2026-11-01 03:20:42 +0100
committerkraibse <33869366+kraibse@users.noreply.github.com>2026-11-02 00:11:25 +0100
commit10e70639058b9adc4f7fc77e11982bb834fce86b (patch)
treedbf3bb3e3037f3bff66a9fcafc0bf03785e35871 /src/core/memory.cpp
parentcce6d44af23f08a7287a66d745fec34e38c9eb25 (diff)
nx2: capture and lower native shader programs once
Native programs were captured and lowered when their ShaderInfo was made and again for every environment built for their pipelines. The ShaderInfo now keeps the lowered code and the environments adopt it. Capture also reads a 4 KiB page at a time instead of flushing caches per instruction, and cached native programs fold bank 1 reads like live ones. Ported from Wael3rd/Eglantine-MKW (0ae093058e, 65a6aa877a, df076133c4). Assisted-by: Claude Sonnet 5.5 (porting the fixes) (cherry picked from commit 3af11ac401ad3061c183281d8c98c16c1d6da456)
Diffstat (limited to 'src/core/memory.cpp')
0 files changed, 0 insertions, 0 deletions