virtualx-engine/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
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
renderer_canvas_render.h Debug CanvasItem redraw 2023-08-28 12:53:56 +02:00
renderer_compositor.cpp Forbid passing multiview sampler to the custom function in shaders 2023-02-21 11:23:17 +03:00
renderer_compositor.h Forbid passing multiview sampler to the custom function in shaders 2023-02-21 11:23:17 +03:00
renderer_geometry_instance.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
renderer_geometry_instance.h Expose RD::texture_native_handle 2023-06-14 09:58:08 +10:00
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
renderer_scene_occlusion_cull.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
renderer_scene_render.cpp Rename center method to get_center in Plane. 2023-01-15 17:18:50 +01:00
renderer_scene_render.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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 Avoid crashing when custom GLSL shaders are imported when using the gl_compatibility renderer 2023-01-13 12:53:19 -08:00
rendering_device_binds.h Fix RDPipelineColorBlendState.attachments setter 2023-09-05 15:29:56 +03:00
rendering_method.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rendering_server_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Split dependency logic 2022-06-28 00:10:29 +10:00
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 replace sampler arrays with constant sampler elements 2023-06-22 01:11:57 +03:00
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_warnings.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_warnings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00