aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/image_base.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-29 14:28:34 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-29 20:49:48 -0400
commit01fce03d24380ae647c07f02dd063981baae041a (patch)
tree62423c07f89d7048c797985a526e69da44da9498 /src/video_core/texture_cache/image_base.cpp
parent15e953cafd5cb348833cb373d7ddd996b81307f7 (diff)
vulkan: leave the alpha test reference out of pipelines that don't test alpha
FixedPipelineState stored alpha_test_ref whatever the alpha test function. Title 1 animates the register with the test off (text fading in and out), so every value made a new pipeline whose shaders were lowered and translated on the GPU thread: bursts of 600-1,900 pipelines in 10 s (up to 5 s of GPU thread) whenever text was on screen. The reference is now kept only while the test compares with it (not Always or Never). Driving title 1's menus: 400+ pipelines for already-known shaders before, 0 after; one shader lowered 79 times before, 2 after. EDEN_NX2_PIPELINE_DIFF=1 logs which fixed-state fields differ when a new pipeline reuses known shaders.
Diffstat (limited to 'src/video_core/texture_cache/image_base.cpp')
0 files changed, 0 insertions, 0 deletions