swr: handle pci cap requests
authorTim Rowley <timothy.o.rowley@intel.com>
Sat, 2 Apr 2016 00:58:29 +0000 (19:58 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 13 Apr 2016 01:18:00 +0000 (20:18 -0500)
Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
src/gallium/drivers/swr/swr_screen.cpp

index dcf896ef65ee2f2298fb2af8c836490b6c612698..a0a6324f334c887d3a466a915c755021305c8b60 100644 (file)
@@ -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;
    }