diff --git a/Source/Core/VideoCommon/Resources/ShaderResource.cpp b/Source/Core/VideoCommon/Resources/ShaderResource.cpp index e1aecd355c..47600f2c6a 100644 --- a/Source/Core/VideoCommon/Resources/ShaderResource.cpp +++ b/Source/Core/VideoCommon/Resources/ShaderResource.cpp @@ -167,9 +167,8 @@ ShaderResource::ShaderResource(Resource::ResourceContext resource_context, const GXPipelineUid& pipeline_uid, const std::string& preprocessor_setting, const ShaderHostConfig& shader_host_config) - : Resource(std::move(resource_context)), m_uid(pipeline_uid), - m_preprocessor_settings(preprocessor_setting), - m_shader_host_config{.bits = shader_host_config.bits} + : Resource(std::move(resource_context)), m_shader_host_config{.bits = shader_host_config.bits}, + m_uid(pipeline_uid), m_preprocessor_settings(preprocessor_setting) { m_shader_asset = m_resource_context.asset_cache->CreateAsset( m_resource_context.primary_asset_id, m_resource_context.asset_library, this);