godot/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
bokeh_dof.h
copy_effects.cpp
copy_effects.h
debug_effects.cpp Rewrite reprojection for FSR2 to work correctly with Reverse-Z. 2024-05-10 11:57:27 -03:00
debug_effects.h
fsr2.cpp Fix double free in FSR2 destructor 2024-08-16 22:44:57 -07:00
fsr2.h
fsr.cpp
fsr.h
luminance.cpp
luminance.h
resolve.cpp
resolve.h
roughness_limiter.cpp
roughness_limiter.h
SCsub
sort_effects.cpp
sort_effects.h
ss_effects.cpp
ss_effects.h
taa.cpp
taa.h
tone_mapper.cpp
tone_mapper.h
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