Make conversions from LocalVector to Vector explicit.

This commit is contained in:
Lukas Tenbrink
2025-06-13 00:38:06 +02:00
parent 6efa557e9b
commit abe3b481ae
19 changed files with 52 additions and 52 deletions

View File

@ -4426,7 +4426,7 @@ static RD::FramebufferFormatID _get_depth_framebuffer_format_for_pipeline(bool p
passes.ptrw()[0].depth_attachment = 0;
return RD::get_singleton()->framebuffer_format_create_multipass(attachments, passes);
return RD::get_singleton()->framebuffer_format_create_multipass(Vector<RD::AttachmentFormat>(attachments), passes);
}
static RD::FramebufferFormatID _get_shadow_cubemap_framebuffer_format_for_pipeline() {
@ -4438,7 +4438,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) {
@ -4450,7 +4450,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));
}
static RD::FramebufferFormatID _get_reflection_probe_depth_framebuffer_format_for_pipeline() {
@ -4462,7 +4462,7 @@ static RD::FramebufferFormatID _get_reflection_probe_depth_framebuffer_format_fo
attachment.usage_flags = RendererRD::LightStorage::get_reflection_probe_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 RenderForwardClustered::_mesh_compile_pipeline_for_surface(SceneShaderForwardClustered::ShaderData *p_shader, void *p_mesh_surface, bool p_ubershader, bool p_instanced_surface, RS::PipelineSource p_source, SceneShaderForwardClustered::ShaderData::PipelineKey &r_pipeline_key, Vector<ShaderPipelinePair> *r_pipeline_pairs) {

View File

@ -3097,7 +3097,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) {
@ -3109,7 +3109,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) {