preliminary support for embedded primitive arrays