godot/drivers/gles_common
lawnjelly 0d80385687 Batching - prevent CPU transform for non-rects using large FVF
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.
2021-03-17 12:04:59 +00:00
..
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00
batch_diagnose.inc Batching - more frame diagnose information 2021-03-11 16:32:59 +00:00
rasterizer_array.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_asserts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_batcher.h Batching - prevent CPU transform for non-rects using large FVF 2021-03-17 12:04:59 +00:00
rasterizer_storage_common.h GLES - fix some sanitizer warnings 2021-02-18 15:45:38 +00:00