Skip to content

glsl: avoid using uninitialized variable in iterate_type_fill_variables

Filip Gawin requested to merge (removed):glsl_uninitialized_variable into main

(Sometimes compilers tend to remove this part, bc it's UB which shouldn't happen)

The problematic line is: *offset = struct_base_offset + glsl_get_struct_field_offset(type, i);

Merge request reports