0d80385687
Large FVF which encodes the transform in a vertex attribute is triggered by reading from VERTEX in a custom shader. This means that the local vertex position must be available in the shader, so the only way to batch is to also pass the transform as an attribute. The large FVF path already disabled CPU transform in the case of rects, but not in other primitives, which this PR fixes. Note that large FVF is incompatible with 2d software skinning. So reading from VERTEX in a custom shader when using skinning will not work. |
||
---|---|---|
.. | ||
SCsub | ||
batch_diagnose.inc | ||
rasterizer_array.h | ||
rasterizer_asserts.h | ||
rasterizer_canvas_batcher.h | ||
rasterizer_storage_common.h |