Try reducing state changes within a render pass for cull mode and front face winding, as these have their own dynamic setters on the command buffer and we do not track them, leading to unimpressive looking Metal GPU frame captures in XCode. Probably does not have much of a performance impact but unnecessary calls should be eliminated regardless.
(but watch out for begin/endExternal and other complications)
|For Gerrit Dashboard: QTBUG-78605|
|275178,7||rhi: metal: Eliminate redundant setCullMode and setFrontFaceWinding calls||5.14||qt/qtbase||Status: MERGED||+2||0|