godot/drivers
lawnjelly c401960634 Batching - fix custom MODULATE shader applying modulate twice
One of the new fvf types (FVF_MODULATED) allows batching custom shaders that use modulate. The only slight oversight is that there is a special define when MODULATE is used in a custom shader, called MODULATE_USED, that is checked, and if set it does NOT apply final_modulate as part of canvas.glsl.

This MODULATE_USED define wasn't checked when the new FVF was used and modulate was passed in an attribute.

This PR moves the application of the final_modulate into the #ifndef MODULATE_USED section.
2021-03-04 20:28:57 +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 Modernize Mutex 2021-02-18 11:58:08 +01:00
coremidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dummy Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gl_context SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gles2 Batching - fix custom MODULATE shader applying modulate twice 2021-03-04 20:28:57 +00:00
gles3 Renaming rendering/2d project settings. 2021-03-01 11:38:46 +00:00
gles_common Renaming rendering/2d project settings. 2021-03-01 11:38:46 +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 Restore needed null check in OS_Unix::execute() 2021-02-19 11:48:30 +01:00
wasapi Modernize Thread 2021-02-18 11:58:08 +01:00
windows Modernize Thread 2021-02-18 11:58:08 +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