Merge pull request #42732 from Anutrix/free-shader
Free a SortShader and a ParticlesCopyShader
This commit is contained in:
commit
b3b5cd021c
|
@ -1758,6 +1758,7 @@ RasterizerEffectsRD::~RasterizerEffectsRD() {
|
|||
resolve.shader.version_free(resolve.shader_version);
|
||||
roughness.shader.version_free(roughness.shader_version);
|
||||
roughness_limiter.shader.version_free(roughness_limiter.shader_version);
|
||||
sort.shader.version_free(sort.shader_version);
|
||||
specular_merge.shader.version_free(specular_merge.shader_version);
|
||||
ssao.blur_shader.version_free(ssao.blur_shader_version);
|
||||
ssao.gather_shader.version_free(ssao.gather_shader_version);
|
||||
|
|
|
@ -7884,7 +7884,9 @@ RasterizerStorageRD::~RasterizerStorageRD() {
|
|||
for (int i = 0; i < DEFAULT_RD_BUFFER_MAX; i++) {
|
||||
RD::get_singleton()->free(mesh_default_rd_buffers[i]);
|
||||
}
|
||||
|
||||
giprobe_sdf_shader.version_free(giprobe_sdf_shader_version);
|
||||
particles_shader.copy_shader.version_free(particles_shader.copy_shader_version);
|
||||
|
||||
RD::get_singleton()->free(default_rd_storage_buffer);
|
||||
|
||||
|
|
Loading…
Reference in New Issue