Merge pull request #12391 from lioncash/reorder
General: Resolve -Wreorder warnings
This commit is contained in:
commit
c6a10b5740
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
ConfigFloatSlider::ConfigFloatSlider(float minimum, float maximum,
|
ConfigFloatSlider::ConfigFloatSlider(float minimum, float maximum,
|
||||||
const Config::Info<float>& setting, float step)
|
const Config::Info<float>& setting, float step)
|
||||||
: ToolTipSlider(Qt::Horizontal), m_minimum(minimum), m_setting(setting), m_step(step)
|
: ToolTipSlider(Qt::Horizontal), m_minimum(minimum), m_step(step), m_setting(setting)
|
||||||
{
|
{
|
||||||
const float range = maximum - minimum;
|
const float range = maximum - minimum;
|
||||||
const int steps = std::round(range / step);
|
const int steps = std::round(range / step);
|
||||||
|
|
|
@ -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…
Reference in New Issue