This is an inline function with a compile-constant switch, so I expect the compiler wouldn't produce any better code like this, but for humans it's easier to read when function calls are not embedded into other function calls. Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21835>