From dcbf404c0d1e9a40e0e75562e5112f53f95abe9d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 10 Feb 2014 21:04:40 +0000 Subject: pipe-loader: introduce pipe_loader_sw_probe_null helper function v2: Handle null_sw_create failure, add missing function return type Signed-off-by: Emil Velikov Reviewed-by: Jakob Bornecrantz (v1) --- src/gallium/auxiliary/pipe-loader/pipe_loader.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h') diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h index 9a461608d99..125086d24ab 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h @@ -131,6 +131,16 @@ pipe_loader_sw_probe_dri(struct pipe_loader_device **devs, struct drisw_loader_funcs *drisw_lf); +/** + * Initialize a null sw device. + * + * This function is platform-specific. + * + * \sa pipe_loader_probe + */ +bool +pipe_loader_sw_probe_null(struct pipe_loader_device **devs); + /** * Get a list of known software devices. * -- cgit v1.2.3