Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions

Remove implicit conversions between `LocalVector` and `Vector`
This commit is contained in:
Thaddeus Crews 2025-09-30 11:19:17 -05:00
commit 21fd4faf1b
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
19 changed files with 52 additions and 52 deletions

View file

@ -3095,7 +3095,7 @@ static RD::FramebufferFormatID _get_shadow_cubemap_framebuffer_format_for_pipeli
attachment.usage_flags = RendererRD::LightStorage::get_cubemap_depth_usage_bits();
attachments.push_back(attachment);
return RD::get_singleton()->framebuffer_format_create(attachments);
return RD::get_singleton()->framebuffer_format_create(Vector<RD::AttachmentFormat>(attachments));
}
static RD::FramebufferFormatID _get_shadow_atlas_framebuffer_format_for_pipeline(bool p_use_16_bits) {
@ -3107,7 +3107,7 @@ static RD::FramebufferFormatID _get_shadow_atlas_framebuffer_format_for_pipeline
attachment.usage_flags = RendererRD::LightStorage::get_shadow_atlas_depth_usage_bits();
attachments.push_back(attachment);
return RD::get_singleton()->framebuffer_format_create(attachments);
return RD::get_singleton()->framebuffer_format_create(Vector<RD::AttachmentFormat>(attachments));
}
void RenderForwardMobile::_mesh_compile_pipeline_for_surface(SceneShaderForwardMobile::ShaderData *p_shader, void *p_mesh_surface, bool p_instanced_surface, RS::PipelineSource p_source, SceneShaderForwardMobile::ShaderData::PipelineKey &r_pipeline_key, Vector<ShaderPipelinePair> *r_pipeline_pairs) {