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
GetCurrentStateDescription in pipeline_cache.cc creates PipelineRuntimeDescription which in case of RTV uses GetPreferredFacePolygonOffset to generate depth_bias_slope_scaled.
This is a problem because for some calls this is executed with different register values which causes to generate multiple pipelines for the same shader that will never be use again.
Validation
Describe what's going wrong
GetCurrentStateDescription
in pipeline_cache.cc createsPipelineRuntimeDescription
which in case of RTV usesGetPreferredFacePolygonOffset
to generatedepth_bias_slope_scaled
.This is a problem because for some calls this is executed with different register values which causes to generate multiple pipelines for the same shader that will never be use again.
Test cases: xenia-project/game-compatibility#52
xenia-project/game-compatibility#21
In case of first test case values (from registers) are quite small: 0.0001 - 0.0000001
For second one they're quite huge: 10-150
Describe what should happen
No idea
If applicable, provide a callstack here, especially for crashes
No response
If applicable, upload a logfile and link it here
No response
The text was updated successfully, but these errors were encountered: