Separated ESM Filter's and Image Filter's Scene Shader Data

This commit is contained in:
korenkonder
2026-01-03 20:17:24 +03:00
parent 3bd5f2c764
commit d4e4cbb666
4 changed files with 57 additions and 49 deletions
+6 -4
View File
@@ -1132,9 +1132,10 @@ sprite_width(), sprite_height(), screen_x_offset(), screen_y_offset(), screen_wi
camera_blur_ubo.Create(gl_state, sizeof(camera_blur_shader_data));
contour_coef_ubo.Create(gl_state, sizeof(contour_coef_shader_data));
contour_params_ubo.Create(gl_state, sizeof(contour_params_shader_data));
filter_scene_ubo.Create(gl_state, sizeof(filter_scene_shader_data));
esm_filter_scene_ubo.Create(gl_state, sizeof(esm_filter_scene_shader_data));
esm_filter_batch_ubo.Create(gl_state, sizeof(esm_filter_batch_shader_data));
imgfilter_batch_ubo.Create(gl_state, sizeof(imgfilter_batch_shader_data));
image_filter_scene_ubo.Create(gl_state, sizeof(image_filter_scene_shader_data));
image_filter_batch_ubo.Create(gl_state, sizeof(image_filter_batch_shader_data));
exposure_measure_ubo.Create(gl_state, sizeof(exposure_measure_shader_data));
gaussian_coef_ubo.Create(gl_state, sizeof(gaussian_coef_shader_data));
glass_eye_batch_ubo.Create(gl_state, sizeof(glass_eye_batch_shader_data));
@@ -1304,9 +1305,10 @@ render_context::~render_context() {
glass_eye_batch_ubo.Destroy();
gaussian_coef_ubo.Destroy();
exposure_measure_ubo.Destroy();
imgfilter_batch_ubo.Destroy();
image_filter_batch_ubo.Destroy();
image_filter_scene_ubo.Destroy();
esm_filter_batch_ubo.Destroy();
filter_scene_ubo.Destroy();
esm_filter_scene_ubo.Destroy();
contour_params_ubo.Destroy();
contour_coef_ubo.Destroy();
camera_blur_ubo.Destroy();