Fixes: 624789e3708 "compiler/glsl: handle case where we have multiple users for types"
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
+ glsl_type_singleton_init_or_ref();
+
struct spirv_to_nir_options spirv_opts = {0};
nir_shader *nir = spirv_to_nir(map, word_count, NULL, 0,
struct spirv_to_nir_options spirv_opts = {0};
nir_shader *nir = spirv_to_nir(map, word_count, NULL, 0,
&spirv_opts, NULL);
nir_print_shader(nir, stderr);
&spirv_opts, NULL);
nir_print_shader(nir, stderr);
+ glsl_type_singleton_decref();
+