SPIRV-Cross/reference/shaders-msl-no-opt/vulkan
Chip Davis 056c0e207d Take the vertex count from any indirect parameters passed.
This is necessary to deal with indirect draws, where the draw parameters
are given in a buffer instead of passed by the CPU. For normal draws,
the draw parameters are set with Metal's `setVertexBytes:` method.

This undoes the change to add the vertex count to the aux buffer,
rendering that entire discussion largely moot. Oh well. It was a
discussion that needed to happen anyway.
2019-02-06 15:17:14 -06:00
..
frag Take the vertex count from any indirect parameters passed. 2019-02-06 15:17:14 -06:00