全链路强制F32
This commit is contained in:
@@ -503,6 +503,10 @@ void NodeTraverser::ResolveJobs(NodeValue &val)
|
||||
}
|
||||
else if (plugin::PluginJob* plugin_job=dynamic_cast<plugin::PluginJob*>(base_job)) {
|
||||
VideoParams tex_params = job_tex->params();
|
||||
// Force internal working format (F32) for plugin processing,
|
||||
// matching FootageJob/GenerateJob behavior.
|
||||
tex_params.set_format(GetCacheVideoParams().format());
|
||||
tex_params.set_channel_count(VideoParams::kRGBAChannelCount);
|
||||
|
||||
TexturePtr tex = CreateTexture(tex_params);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user