Frequency of shader invocations in rendering commands
问题 Shaders have invocations, which each are (usually) given a unique set of input data, and each (usually) write to their own separate output data. When you issue a rendering command, how many times does each shader get invoked? 回答1: Each shader stage has its own frequency of invocations. I will use the OpenGL terminology, but D3D works the same way (since they're both modelling the same hardware relationships). Vertex Shaders These are the second most complicated. They execute once for every