Fix AMD render problem with missed meshes.
Merge pull request #1025 from bpay/fix-amd-mesh-render

Fix AMD render problem with missed meshes.