Skip to content

Revert "zink: store last pipeline directly for zink_gfx_program::last_pipeline"

Juston Li requested to merge justonli/mesa:zink-optimized-last-pipeline into main

Revert "zink: store last pipeline directly for zink_gfx_program::last_pipeline"

This reverts commit be8b7980.

Store the cache entry so that the fast path picks up the optimized pipeline when its available from a background optimized_compile_job().

Observed traces where it would take the fast path back and forth using an unoptimized pipeline and never pick up the optimized pipeline leading to >50% fps drop.

Signed-off-by: Juston Li justonli@google.com

Merge request reports