Diet and canine function sheathing of the beak in
Heterodontosaurus Heterodontosaurids have traditionally been assumed to be
herbivorous, alongside all other ornithischians, with the possibilities that the caniniforms were a part of
sexual dimorphism based on their absence in
Abrictosaurus, which was suggested to be a young or female version of another taxon. Barrett suggested in
2000 that the
premaxillary teeth and dentary canine were indications of heterodontosaurids being
omnivorous, while Butler and colleagues suggested in
2008 that they were likely used for defense and occasional omnivory, and Porro and colleagues suggested in
2011 that the caniniforms were an indication of a diet of more tough, fibrous vegetation. Norman
et al. suggested in 2011 alternatively that the canines were unlikely to have been used for display or cropping and rooting vegetation, as there was no wear from use present and no strong evidence for sexual variation. However, Sereno identified wear facets on the canines of
Heterodontosaurus and other heterodontosaurids, though none specifically in
Pegomastax. As well, Sereno pointed out that many modern animals have features for display or defense that are identical between sexes, so the use of canines for either could not be ruled out. Sereno considered the canines of heterodontosaurids to be most similar to those of
peccaries in form, and suggested that their diet of fruits, roots, grass, acorns, pine nuts and thistles may represent the closest living comparison to heterodontosaurids. A predominantly or exclusively herbivorous diet in
Pegomastax could be directly supported by the extensive tooth-to-tooth wear facets it has, which show that it possessed the same adaptations for propalinal (forwards and backwards) jaw movement and processing plant material as other ornithischians.
Ecology ,
Pegomastax is known from Voyizane
Pegomastax is known from a specimen found in the
Upper Elliot Formation of the
Stormberg Group of the southern African
Karoo Basin. The Elliot Formation spans the
Triassic–Jurassic boundary, with the lower Elliot being mid-
Norian to
Rhaetian, and the upper Elliot being
Hettangian to
Sinemurian; 201.3 to 190.8
million years ago. The upper Elliot Formation consists of red to pink
fluvial and
aeolian mudstones that are rich in organic matter, including all ornithischians yet found in the Elliot Formation. The Upper Elliot Formation is characterised by animals that appear to be more lightly built than those of the Lower Elliot Formation, which may have been an adaptation to the drier climate at this time in southern Africa. Most of the upper Elliot Formation is part of the "
Massospondylus Assemblage Zone", the oldest dinosaur-dominated
biozone in
Gondwana, characterized by the appearance of abundant
sauropodomorph Massospondylus fossils as the main
index taxon, as well as the co-occurring ornithischian
Lesothosaurus and
crocodylomorph Protosuchus. Within the upper Elliot Formation and younger
Clarens Formation, sauropodomorphs are the most abundant dinosaur group and make up 58.7% of discovered vertebrate taxa, followed by ornithischians at 5.9%, and theropods at 2% of the abundance. Most of the named sauropodomorphs have been found in the middle of the upper Elliot Formation where
Pegomastax likely originates from, including
Aardonyx,
Antetonitrus,
Arcusaurus,
Ignavusaurus,
Ledumahadi,
Massospondylus and
Pulanesaura. The position of the individual heterodontosaurid specimens within the rock succession is poorly known, making it difficult to determine how many of these species really were
coeval, and which species existed at separate times. However, estimations for age of uncertain discoveries suggests that
Pegomastax was older than all other heterodontosaurids, and the only other ornithischian it coexisted with was the index taxon
Lesothosaurus that can be found throughout the entire upper Elliot Formation. Only the
theropods Megapnosaurus and
Dracovenator are known from the upper Elliot Formation, and both likely lived at the same time as
Pegomastax. Among non-dinosaur taxa, members of
Eucynodontia are the most common in the upper Elliot formation, with both
Diarthrognathus and
Pachygenelus coexisting with
Pegomastax. Other
synapsids are far less common, but
Tritylodon and
Megazostrodon are both known from the middle of the deposits.
Protosuchus represents the only crocodylomorph that definitively lived alongside
Pegomastax, with
Litargosuchus either being the same age or older.
Australochelys is the only
turtle known from the Elliot Formation, and it may be older than
Pegomastax or overlap in age, as both are of uncertain provenance. Unnamed
amphibians from the family
Chigutisauridae likely overlapped with
Pegomastax in age, as well as intermediate fish species of the genus
Ceratodus. Other fishes and the
sphenodontian
Clevosaurus are also known from the upper Elliot, but are younger than the suspected age of
Pegomastax. Some
invertebrates are known from the
Massospondylus Assemblage Zone, including the
crustacean
Lepidurus, the
beetle Coleopterus, the
wood cockroach Phthartus,
orthopteran
Striatotegmen, the
cricket Archaegryllodes, and intermediate
brachiopods and crustaceans.
Plants are represented by the
horsetails Equisetum and
Equisetites, the
cycadeoid Otozamites, the
conifers
Sphenolepidiurn and
Pinus, the
seed ferns
Phoenicopsis and
Dicroidium,
algal mat Spirogyra, and fossil wood and pollen of
Agathoxylon,
Podocarpoxylon,
Araucarioxylon,
Lacrimasporonites,
Uvaesporites and
Cyathidites. ==Notes==