You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shaders: legacy geometry PSOs retranslate the same ES+GS pair for every pixel shader (verification help wanted) #2876
Could someone verify whether legacy geometry PSOs spend measurable CPU time retranslating the same ES+GS pair when only the pixel shader or fixed-function state changes?
On main at 8b957bec, translated_gs_pso calls console_geometry before either native driver-cache lookup. console_geometry reparses and combines the ES and GS and runs direct DXIL lowering or generates HLSL before looking up the DXC result. By comparison, the NGG mesh path caches its compute pass before making the pixel-signature-specific mesh passthrough. GS caller · ES+GS translation · HLSL cache lookup · NGG compute-pass cache
A Windows check could create two valid PSOs with identical console VS/GS bytes and different PS or fixed-function state, after warming DXC and the driver blobs. Count and time the ES+GS lowering calls separately from passthrough generation and native PSO creation. Please verify whether the repeat work also shows up in a representative title before deciding if it warrants a cache.
This was a static source review on Linux. PR #2103 covers deferring direct geometry lowering during a cached-only probe. This report asks about repeated lowering across builds that proceed to translation.
AI use: Codex (GPT-6, exact serving variant unavailable) for the Graphify-assisted review and issue draft.
changed the title [-]Verify whether legacy geometry PSOs repeat ES+GS translation on warm caches[/-][+]Shaders: legacy geometry PSOs retranslate the same ES+GS pair for every pixel shader (verification help wanted)[/+]on Nov 27, 2026
Activity
[-]Verify whether legacy geometry PSOs repeat ES+GS translation on warm caches[/-][+]Shaders: legacy geometry PSOs retranslate the same ES+GS pair for every pixel shader (verification help wanted)[/+]