[Bf-blender-cvs] [a521960fddf] master: Fix T103426: Crash on Insert Keyframe

Eimear Crotty noreply at git.blender.org
Fri Dec 23 11:40:01 CET 2022


Commit: a521960fddf2544b1eeab1f29e03c8d9d4abf86b
Author: Eimear Crotty
Date:   Fri Dec 23 11:19:43 2022 +0100
Branches: master
https://developer.blender.org/rBa521960fddf2544b1eeab1f29e03c8d9d4abf86b

Fix T103426: Crash on Insert Keyframe

Add required additional_info to shader using gpu_shader_point_uniform_color_aa_frag.glsl. This is the only other reference to the shader which requires the additional_info to be added.

{F14085803}

Reviewed By: #eevee_viewport, fclem

Maniphest Tasks: T103426

Differential Revision: https://developer.blender.org/D16853

===================================================================

M	source/blender/gpu/shaders/infos/gpu_shader_2D_point_uniform_size_uniform_color_aa_info.hh

===================================================================

diff --git a/source/blender/gpu/shaders/infos/gpu_shader_2D_point_uniform_size_uniform_color_aa_info.hh b/source/blender/gpu/shaders/infos/gpu_shader_2D_point_uniform_size_uniform_color_aa_info.hh
index 1b5c9beed48..6d4806580e5 100644
--- a/source/blender/gpu/shaders/infos/gpu_shader_2D_point_uniform_size_uniform_color_aa_info.hh
+++ b/source/blender/gpu/shaders/infos/gpu_shader_2D_point_uniform_size_uniform_color_aa_info.hh
@@ -17,4 +17,5 @@ GPU_SHADER_CREATE_INFO(gpu_shader_2D_point_uniform_size_uniform_color_aa)
     .push_constant(Type::FLOAT, "size")
     .vertex_source("gpu_shader_2D_point_uniform_size_aa_vert.glsl")
     .fragment_source("gpu_shader_point_uniform_color_aa_frag.glsl")
+    .additional_info("gpu_srgb_to_framebuffer_space")
     .do_static_compilation(true);



More information about the Bf-blender-cvs mailing list