godot/servers/rendering
Alistair Leslie-Hughes 367079ffee Renderer Viewport correct sizeof usage.
The current usage.

In viewport_find_from_screen_attachment
- Allocates a list of pointers, eg sizeof(RID*) * ridcount.

We need fill that buffer
viewport_owner.fill_owned_buffer(rids);
...
 p_rid_buffer[idx] = _make_from_id((validator << 32) | i);

_make_from_id returns an RID object, not a pointer.

Since there isn't a copy constructor, a bitwise copy of the object occurs.

This issue will only present itself under 32bit builds.
sizeof(RID)  : 8
sizeof(RID*) : 4

whereas 64bit builds they are both 8.
2023-11-16 11:02:12 +11:00
..
dummy Merge pull request #81167 from bitsawer/fix_sdfgi_editor_change 2023-10-25 10:27:03 +02:00
environment Reset SDFGI when changing editor scene tabs 2023-08-30 19:50:05 +03:00
renderer_rd Ensure optional variants are loaded last. 2023-11-15 14:31:25 +11:00
storage Particle internal refactor and additions for more artistic control 2023-10-10 20:03:35 +02:00
SCsub
renderer_canvas_cull.cpp Disable update spinner when debug redraw is active 2023-10-11 13:21:29 +02:00
renderer_canvas_cull.h Disable update spinner when debug redraw is active 2023-10-11 13:21:29 +02:00
renderer_canvas_render.cpp
renderer_canvas_render.h Debug CanvasItem redraw 2023-08-28 12:53:56 +02:00
renderer_compositor.cpp
renderer_compositor.h
renderer_geometry_instance.cpp
renderer_geometry_instance.h
renderer_scene_cull.cpp Directional 2 Split Shadow Stabilization Fix 2023-10-07 17:55:26 +02:00
renderer_scene_cull.h Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
renderer_scene_occlusion_cull.cpp
renderer_scene_occlusion_cull.h
renderer_scene_render.cpp
renderer_scene_render.h
renderer_viewport.cpp Renderer Viewport correct sizeof usage. 2023-11-16 11:02:12 +11:00
renderer_viewport.h Fix drawing of viewports without swapping buffers 2023-10-03 13:51:47 +02:00
rendering_device.compat.inc Add compatibility methods for RenderingDevice BarrierMask 2023-09-27 10:22:03 -04:00
rendering_device.cpp Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
rendering_device.h Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
rendering_device_binds.cpp
rendering_device_binds.h Fix `RDPipelineColorBlendState.attachments` setter 2023-09-05 15:29:56 +03:00
rendering_method.cpp
rendering_method.h Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
rendering_server_default.cpp Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00
rendering_server_default.h Merge pull request #81167 from bitsawer/fix_sdfgi_editor_change 2023-10-25 10:27:03 +02:00
rendering_server_globals.cpp
rendering_server_globals.h
shader_compiler.cpp Fix int to uint implicit cast error when use uniform mat in gles3 2023-10-27 10:46:52 +08:00
shader_compiler.h
shader_language.cpp Fix assign with swizzle in shader not doing varying validation check 2023-10-23 17:52:50 +08:00
shader_language.h Merge pull request #81619 from Chaosus/fix_shader_const 2023-10-03 17:20:23 +02:00
shader_preprocessor.cpp Fix shader language preprocessor include marker handling 2023-09-06 16:57:40 +03:00
shader_preprocessor.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
shader_types.cpp Particle internal refactor and additions for more artistic control 2023-10-10 20:03:35 +02:00
shader_types.h
shader_warnings.cpp
shader_warnings.h