e0f66c1fbf
Before each draw call, for every enabled vertex array configured as instanced, we take the current instance id and divide it by its configured divisor, then we multiply that by the corresponding stride and increment the start address by the resulting amount. This way we can simulate the vertex array being incremented once per instance without actually using OpenGL's instancing functions. |
||
---|---|---|
.. | ||
fermi_2d.cpp | ||
fermi_2d.h | ||
maxwell_3d.cpp | ||
maxwell_3d.h | ||
maxwell_compute.cpp | ||
maxwell_compute.h | ||
maxwell_dma.cpp | ||
maxwell_dma.h | ||
shader_bytecode.h |