Skip to content

Remove type tags from ControlSignature field arguments

Kenneth Moreland requested to merge kmorel/vtk-m:field-tags-no-template into master

Previously, several of the ControlSignature tags had a template to specify a type list. This was to specify potential valid value types for an input array. The importance of this typelist was to limit the number of code paths created when resolving a vtkm::cont::VariantArrayHandle. This (potentially) reduced the compile time, the size of libraries/executables, and errors from unexpected types.

Much has changed since this feature was originally implemented. Since then, the filter infrastructure has been created, and it is through this that most dynamic worklet invocations happen. However, since the filter infrastructure does its own type resolution (and has its own policies) the type arguments in ControlSignature are now of little value.

Edited by Kenneth Moreland

Merge request reports