mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
ShaderCache: Implement background shader compilation
This enables shaders to be compiled while the game is starting, instead of blocking startup. If a shader is needed before it is compiled, emulation will block.
This commit is contained in:
parent
9fa24700b6
commit
e31cc1f679
15 changed files with 202 additions and 145 deletions
|
@ -83,8 +83,8 @@ protected:
|
|||
Slope m_zslope = {};
|
||||
void CalculateZSlope(NativeVertexFormat* format);
|
||||
|
||||
VideoCommon::GXPipelineConfig m_current_pipeline_config;
|
||||
VideoCommon::GXUberPipelineConfig m_current_uber_pipeline_config;
|
||||
VideoCommon::GXPipelineUid m_current_pipeline_config;
|
||||
VideoCommon::GXUberPipelineUid m_current_uber_pipeline_config;
|
||||
const AbstractPipeline* m_current_pipeline_object = nullptr;
|
||||
PrimitiveType m_current_primitive_type = PrimitiveType::Points;
|
||||
bool m_pipeline_config_changed = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue