Skip to content
Commit 83815a97 authored by Tapani Pälli's avatar Tapani Pälli
Browse files

mesa: add glsl_type ref to one_time_init and decref to atexit

This fixes problems spotted within vk-gl-cts. Problem is that the builtin
functions refer to types and we should not release types before builtins
are released.

Fixes: 624789e3 ("compiler/glsl: handle case where we have multiple users for types")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110796


Signed-off-by: default avatarTapani Pälli <tapani.palli@intel.com>
Acked-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
parent 59cb919f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment