mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01: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
@ -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…
x
Reference in New Issue
Block a user