mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
CustomShaderCache: Resolve -Wreorder warnings
Lays out the initializer lists to be in the same order that initialization would occur in.
This commit is contained in:
parent
9472da788d
commit
2b2ee61e79
1 changed files with 4 additions and 4 deletions
|
@ -95,8 +95,8 @@ void CustomShaderCache::AsyncCreatePipeline(const VideoCommon::GXPipelineUid& ui
|
||||||
PipelineWorkItem(CustomShaderCache* shader_cache, const VideoCommon::GXPipelineUid& uid,
|
PipelineWorkItem(CustomShaderCache* shader_cache, const VideoCommon::GXPipelineUid& uid,
|
||||||
const CustomShaderInstance& custom_shaders, PipelineIterator iterator,
|
const CustomShaderInstance& custom_shaders, PipelineIterator iterator,
|
||||||
const AbstractPipelineConfig& pipeline_config)
|
const AbstractPipelineConfig& pipeline_config)
|
||||||
: m_shader_cache(shader_cache), m_uid(uid), m_iterator(iterator),
|
: m_shader_cache(shader_cache), m_uid(uid), m_iterator(iterator), m_config(pipeline_config),
|
||||||
m_custom_shaders(custom_shaders), m_config(pipeline_config)
|
m_custom_shaders(custom_shaders)
|
||||||
{
|
{
|
||||||
SetStagesReady();
|
SetStagesReady();
|
||||||
}
|
}
|
||||||
|
@ -179,8 +179,8 @@ void CustomShaderCache::AsyncCreatePipeline(const VideoCommon::GXUberPipelineUid
|
||||||
PipelineWorkItem(CustomShaderCache* shader_cache, const VideoCommon::GXUberPipelineUid& uid,
|
PipelineWorkItem(CustomShaderCache* shader_cache, const VideoCommon::GXUberPipelineUid& uid,
|
||||||
const CustomShaderInstance& custom_shaders, UberPipelineIterator iterator,
|
const CustomShaderInstance& custom_shaders, UberPipelineIterator iterator,
|
||||||
const AbstractPipelineConfig& pipeline_config)
|
const AbstractPipelineConfig& pipeline_config)
|
||||||
: m_shader_cache(shader_cache), m_uid(uid), m_iterator(iterator),
|
: m_shader_cache(shader_cache), m_uid(uid), m_iterator(iterator), m_config(pipeline_config),
|
||||||
m_custom_shaders(custom_shaders), m_config(pipeline_config)
|
m_custom_shaders(custom_shaders)
|
||||||
{
|
{
|
||||||
SetStagesReady();
|
SetStagesReady();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue