virtualx-engine/servers/rendering/renderer_rd/effects
Arseny Kapoulkine 0024cface5 Fix double free in FSR2 destructor
Before this change, using FSR2 resulted in the following error when the
effect was destroyed:

	ERROR: Attempted to free invalid ID: 662734928609453
	   at: _free_internal (servers/rendering/rendering_device.cpp:4957)

This happened because ACCUMULATE and ACCUMULATE_SHARPEN passes shared
the same shader_version object but had different pipeline IDs. When
version_free was called for ACCUMULATE pass, it destroyed pipelines
created from that version, including the pipeline for the
ACCUMULATE_SHARPEN pass.

Using a unique version could work around this problem, but it's easier
to rely on version_free destroying the created pipelines through the
dependency mechanism.
2024-08-16 22:44:57 -07:00
..
bokeh_dof.cpp Acyclic Command Graph for RenderingDevice. 2024-01-08 14:54:56 -03:00
bokeh_dof.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
copy_effects.cpp Use a full screen triangle for mipmap calculations in mobile renderer 2024-05-02 13:17:09 -07:00
copy_effects.h Use a src rect for copying from screen with CanvasGroup in the mobile backend 2024-04-17 15:19:20 -07:00
debug_effects.cpp Rewrite reprojection for FSR2 to work correctly with Reverse-Z. 2024-05-10 11:57:27 -03:00
debug_effects.h Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
fsr.cpp Acyclic Command Graph for RenderingDevice. 2024-01-08 14:54:56 -03:00
fsr.h Allow for external python scripts to call the build python headers via external scripts 2023-03-19 21:18:52 -07:00
fsr2.cpp Fix double free in FSR2 destructor 2024-08-16 22:44:57 -07:00
fsr2.h Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
luminance.cpp Acyclic Command Graph for RenderingDevice. 2024-01-08 14:54:56 -03:00
luminance.h Move luminance effect into its own class and use new buffers system 2023-01-07 14:40:42 +11:00
resolve.cpp Acyclic Command Graph for RenderingDevice. 2024-01-08 14:54:56 -03:00
resolve.h Acyclic Command Graph for RenderingDevice. 2024-01-08 14:54:56 -03:00
roughness_limiter.cpp Move roughness limiter and sort into their own classes 2023-03-09 21:58:55 +11:00
roughness_limiter.h Move roughness limiter and sort into their own classes 2023-03-09 21:58:55 +11:00
SCsub Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
sort_effects.cpp Move roughness limiter and sort into their own classes 2023-03-09 21:58:55 +11:00
sort_effects.h Move roughness limiter and sort into their own classes 2023-03-09 21:58:55 +11:00
ss_effects.cpp [Core] Add scalar versions of Vector* min/max/clamp/snap(ped) 2024-05-02 10:31:13 +02:00
ss_effects.h Add render buffer support to screen space effects 2023-02-10 10:27:59 +11:00
taa.cpp Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
taa.h Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support. 2023-09-25 10:37:47 -03:00
tone_mapper.cpp Consistantly use USE_MULTIVIEW as the define in shaders 2024-03-11 14:40:00 +11:00
tone_mapper.h Add option to enable HDR rendering in 2D 2023-08-07 11:24:03 +02:00
vrs.cpp Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +10:00
vrs.h Improvements to VRS/Foveated rendering 2024-05-03 17:20:30 +10:00