From f853d097a513324ff899fd043b3346118a61234a Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Fri, 5 Jul 2024 17:22:52 +0200 Subject: [PATCH] Fix: GLSL error in the sequencer when running mesa It would error out with "illegal use of reserved word 'active'" Rename the boolan value to not use the reserved word. --- .../blender/gpu/shaders/gpu_shader_sequencer_strips_frag.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/gpu/shaders/gpu_shader_sequencer_strips_frag.glsl b/source/blender/gpu/shaders/gpu_shader_sequencer_strips_frag.glsl index b94b3adde23..33ca84bc44b 100644 --- a/source/blender/gpu/shaders/gpu_shader_sequencer_strips_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_sequencer_strips_frag.glsl @@ -192,8 +192,8 @@ void main() } /* Active, but not selected strips get a thin inner line. */ - bool active = (strip.flags & GPU_SEQ_FLAG_ACTIVE) != 0; - if (active && !selected) { + bool active_strip = (strip.flags & GPU_SEQ_FLAG_ACTIVE) != 0; + if (active_strip && !selected) { col = add_outline(sdf, 1.0, 2.0, col, col_outline); }