From: Tim Rowley Date: Sat, 2 Apr 2016 00:58:29 +0000 (-0500) Subject: swr: handle pci cap requests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9294bc3452737914e2528775b3ae2099ab74110;p=mesa.git swr: handle pci cap requests Reviewed-by: George Kyriazis --- diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index dcf896ef65e..a0a6324f334 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -338,6 +338,10 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_QUERY_BUFFER_OBJECT: case PIPE_CAP_QUERY_MEMORY_INFO: case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR: + case PIPE_CAP_PCI_GROUP: + case PIPE_CAP_PCI_BUS: + case PIPE_CAP_PCI_DEVICE: + case PIPE_CAP_PCI_FUNCTION: return 0; }