Without it, under some specific compilation options, it can be initialized to NULL or to garbage. On the latter case, if the shader doesn't require a binding_list, would cause a crash later when it attempts to be used.

https://gitlab.freedesktop.org/mesa/shader-db/merge_requests/7

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to