pipe-loader: conditionally build and use pipe_loader_sw_probe_dri
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 1 Apr 2014 16:42:40 +0000 (17:42 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 25 Apr 2014 20:09:09 +0000 (21:09 +0100)
commit5c6a1445d530d5c070d1c5288dddf59884c7fca8
tree1247afac39bd85541486358f622a9c72e063077a
parenta7a03d84fc1a7a1721b4a0338258b3b8687743e8
pipe-loader: conditionally build and use pipe_loader_sw_probe_dri

The function relies on the sw/dri winsys which is build only when --enable-dri
is set. Fixes build issues with the following config

 ./configure --disable-dri --with-gallium-drivers=svga --enable-xa

Issue can be reproduced with any hw gallium driver + st that uses the pipe-loader.

Cc: Brian Paul <brianp@vmware.com>
Reported-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac
src/gallium/auxiliary/pipe-loader/pipe_loader.h
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c