mesa/st: call _mesa_initialize() early

This allows drivers to reliably do things like using the GLSL
type-system during initialization.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4765>
This commit is contained in:
Erik Faye-Lund
2020-04-24 15:41:49 +02:00
committed by Marge Bot
parent 57f4c66028
commit a1e453f504
+2
View File
@@ -894,6 +894,8 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi,
return NULL;
}
_mesa_initialize();
/* Create a hash table for the framebuffer interface objects
* if it has not been created for this st manager.
*/