In the 49ers’ rotation of defensive linemen and wide receivers, Solomon Thomas and Dante Pettis found themselves mostly on the sideline in the team’s 31-17 season-opening victory over the Tampa Bay Buccaneers on Sunday.

Thomas played the eighth-most among the 49ers’ defensive lineman, getting on the field for just 12 of the 49ers’ 70 defensive plays. Pettis, who returned to practice last week from a groin issue, played just two snaps.

“He had health issues, so that’s why he missed a week of practice,” 49ers coach Kyle Shanahan said of Pettis. “He just got cleared to come back on Monday, so he was a little behind the eight-ball on that. He didn’t start the game and we didn’t have a ton of long drives where we got into the substitutional flow.”

Pettis, a second-round pick in 2018, caught one pass for 7 yards, while rookie Deebo Samuel and Marquise Goodwin were in the starting lineup.

Samuel played 60 snaps, caught three passes for 17 yards in his NFL debut. He lost a fumble at the end of the first half, but also caught a pass from Jimmy Garoppolo for a successful two-point conversion late in the game.

Thomas was the No. 3 overall pick in the 2017 draft. On Sunday, he was No. 8 among the team’s defensive linemen, behind DeForest Buckner, Arik Armstead, Dee Ford, Nick Bosa, D.J. Jones, Ronald Blair and Sheldon Day.

[RELATED: Grading 49ers' offense, defense after sloppy win over Bucs]

Thomas was not credited with a tackle.

Bosa, the No. 2 overall draft pick this year, had three tackles and a sack in his NFL debut.

Offense

Total offensive snaps: 68

Quarterback – Jimmy Garoppolo 68

Running back – Kyle Juszczyk 32, Matt Breida 30, Raheem Mostert 20, Tevin Coleman 19

Wide receiver – Deebo Samuel 60, Marquise Goodwin 50, Richie James 26, Kendrick Bourne 17, Dante Pettis 2

Tight end – George Kittle 62, Ross Dwelley 12, Levine Toilolo 11

Offensive line – Mike McGlinchey 68, Weston Richburg 68, Laken Tomlinson 67, Joe Staley 66, Mike Person 66, Ben Garland 3, Justin Skule 2

Did not play – Nick Mullens

Defense

Total defensive snaps: 70

Defensive line – DeForest Buckner 53, Arik Armstead 47, Dee Ford 41, Nick Bosa 39, D.J. Jones 37, Ronald Blair 29, Sheldon Day 17, Solomon Thomas 12, Jullian Taylor 6

Linebacker – Fred Warner 70, Dre Greenlaw 56, Kwon Alexander 21, Mark Nzeocha 16

Defensive back –Jaquiski Tartt 70, Tarvarius Moore 70, Ahkello Witherspoon 70, Richard Sherman 70, K’Waun Williams 24, Emmanuel Moseley 22

Special teams

Total special teams plays: 25

Moseley 19, Nzeocha 18, Azeez Al-Shaair 16, Mitch Wishnowsky 15, Antone Exum 14, Dwelley 14, Greenlaw 13, Mostert 12, Toilolo 11, Tartt 11, Buckner 11, Armstead 11, Jones 10, Moore 9, Bourne 9, D.J. Reed 8, Colin Holba 8, James 7, Witherspoon 7, Robbie Gould 6, McGlinchey 6, Richburg 6, Tomlinson 6, Staley 6, Person 6, Breida 5, Thomas 4, Juszczyk 2, Warner 1, Ford 1, Bosa 1, Williams 1, Alexander 1

Not active

QB C.J. Beathard

WR Trent Taylor (foot)

WR Jalen Hurd (back)

CB Jason Verrett

DB Jimmie Ward (finger)

OL Daniel Brunskill

TE Kaden Smith