Consider generic_primitive<prim1_t, prim2_t>, where prim1_t has three precalculated normals per instance, and prim2_t has four precalculated normals per instance. Such a setup will fail with the current interface, where a single list containing normals for all primitives is passed to the built-in kernels' parameter list.
Consider
generic_primitive<prim1_t, prim2_t>
, whereprim1_t
has three precalculated normals per instance, andprim2_t
has four precalculated normals per instance. Such a setup will fail with the current interface, where a single list containing normals for all primitives is passed to the built-in kernels' parameter list.