godot/drivers
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
..
alsa Omit some functions in alsa wrapper 2021-02-22 21:39:22 +01:00
alsamidi Modernize Thread 2021-02-18 11:58:08 +01:00
coreaudio Replace malloc's with Godot's memalloc macro 2021-03-13 22:01:27 +01:00
coremidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dummy Merge pull request #46932 from JFonS/fix_lm_capture_env 2021-03-12 12:30:36 +01:00
gl_context SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gles2 Merge pull request #46932 from JFonS/fix_lm_capture_env 2021-03-12 12:30:36 +01:00
gles3 Merge pull request #46932 from JFonS/fix_lm_capture_env 2021-03-12 12:30:36 +01:00
gles_common Batching - prevent CPU transform for non-rects using large FVF 2021-03-17 12:04:59 +00:00
png Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pulseaudio An update to the dylibloader for older inttypes 2021-02-20 01:25:19 +01:00
unix Thread: Re-add pthread_np.h include for FreeBSD/OpenBSD 2021-03-16 11:33:55 +01:00
wasapi Modernize Thread 2021-02-18 11:58:08 +01:00
windows Add parameter checkes to FileAccess get_buffer functions 2021-03-14 12:03:22 +01:00
winmidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
xaudio2 Modernize Thread 2021-02-18 11:58:08 +01:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00
register_driver_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_driver_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00