godot/drivers/gles2
Omar El Sheikh f0de7ec2b6 Align Vertex Buffer to 4 Bytes
With the octahedral compression, we had attributes of a size of 2 bytes
which potentially caused performance regressions on iOS/Mac

Now add padding to the normal/tangent buffer

For octahedral, normal will always be oct32 encoded
UNLESS tangent exists and is also compressed
then both will be oct16 encoded and packed into a vec4<GL_BYTE>
attribute
2021-08-07 15:42:03 -04:00
..
shaders Align Vertex Buffer to 4 Bytes 2021-08-07 15:42:03 -04:00
rasterizer_canvas_base_gles2.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
rasterizer_canvas_base_gles2.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
rasterizer_canvas_gles2.cpp Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_canvas_gles2.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rasterizer_gles2.cpp Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_gles2.h Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_scene_gles2.cpp Revert "Combined the DOF far and DOF near passes" 2021-08-05 23:22:31 +10:00
rasterizer_scene_gles2.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
rasterizer_storage_gles2.cpp Align Vertex Buffer to 4 Bytes 2021-08-07 15:42:03 -04:00
rasterizer_storage_gles2.h Added CPU blendshapes for GLES2 2021-05-06 20:52:34 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles2.cpp Improve the shader error console output 2021-07-17 03:00:46 +02:00
shader_compiler_gles2.h Backport dd0874e "Allow passing varying from fragment to light shader function" to 3.4 2021-05-14 11:28:48 -07:00
shader_gles2.cpp Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
shader_gles2.h Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00