Commit 83815a97 authored by Tapani Pälli's avatar Tapani Pälli

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: Tapani Pälli's avatarTapani Pälli <>
Acked-by: Lionel Landwerlin's avatarLionel Landwerlin <>
parent 59cb919f
Pipeline #53933 passed with stages
in 38 minutes and 35 seconds
......@@ -361,6 +361,7 @@ static void
......@@ -393,6 +394,8 @@ one_time_init( struct gl_context *ctx )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment