godot/drivers
jfons e69d762dd0 Add color pass flags to Forward Clustered renderer
This commit removes a lot of enum values related to the color render pass in favor of a new flag-bases approach. This means instead of hard-coding all the possible option combinations into enums, we can write our logic by checking a bit-mask.

The changes in rendering_device_vulkan.cpp add support for unused attachments. That means RenderingDeviceVulkan::framebuffer_create() can take null RIDs in the attachments vector, which will result in VK_ATTACHMENT_UNUSED entries in the render pass.

This is used in this same PR to establish fixed locations for the color pass attachments (only color and separate specular so far, but TAA will add motion vectors as well). This way the attachment locations in the shader can stay the same regardless of which attachments are actually used.

Right now all the combinations of flags are generated, but we will need to add a way to limit the amount of combinations in the future.
2022-04-01 12:12:49 +02:00
..
alsa Fix multiple missing UTF-8 decoding. 2022-01-06 14:35:22 +02:00
alsamidi Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
coreaudio Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
coremidi Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gl_context Add GLES2 2D renderer + Linux display manager 2021-10-30 02:05:48 +02:00
gles3 Extract global variable, shader and material storage 2022-03-31 21:49:42 +11:00
png Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
pulseaudio Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
spirv-reflect SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00
unix Remove unused GDNative code 2022-03-09 13:59:03 +01:00
vulkan Add color pass flags to Forward Clustered renderer 2022-04-01 12:12:49 +02:00
wasapi Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
windows Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
winmidi Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
xaudio2 Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub [HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer. 2021-11-19 16:59:27 +01:00
register_driver_types.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_driver_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00