Fix the corruption issue
Fix the corruption issue

The vertex buffer is not set correctly. The slot is not sorted in ascending order, so the last slot cannot be considered as the max number.

googlestadia/xgl,GPUOpen-Drivers/xgl,GPUOpen-Drivers/xgl,googlestadia/xgl,googlestadia/xgl,GPUOpen-Drivers/xgl