Different meshes with shared common materials

Hello mates,

I’ve shared materials with many meshes, so when I using one of these materials in a different meshes I don’t want redundancy of draw calls in each mesh, so I want to be at same draw call of all meshes that using the same selected materials.

For Example:
I’ve 2 different meshes the first mesh using 23 materials and the second mesh using 35 materials, the draw calls will be 58 and I don’t want this number I want 35 draw calls. is there any solution for this problem? like I heard about custom primitive data but I still didn’t understand it.

Anyway I’ve attached the photo.
Thanks for help.