3 ms·
https://lwn.net/Articles/768410/ https://lwn.net/Articles/768410/ has a good explanation of the differences: > The third option, surprisingly, is Gallium3D (or
by johntb86 4y ago
https://lwn.net/Articles/768410/ https://lwn.net/Articles/768410/ has a good explanation of the differences:
> The third option, surprisingly, is Gallium3D (or simply "Gallium"), he said. He has been learning that it is basically a hybrid approach between state streaming and pre-baked pipelines. It uses "constant state objects" (CSOs), which are immutable objects that capture a part of the GPU state and can be cached across multiple draw operations. CSOs are essentially a Vulkan pipeline that has been chopped up into pieces that can be mixed and matched as needed. Things like the blending state, rasterization mode, viewport, and shader would each have their own CSO. The driver can associate the actual GPU commands needed to achieve that state with the CSO.