swr: add PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT to get_param
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 21 Apr 2016 16:10:29 +0000 (11:10 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 21 Apr 2016 16:32:09 +0000 (11:32 -0500)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/swr/swr_screen.cpp

index a0a6324f334c887d3a466a915c755021305c8b60..daee05abce3acae53ac9c721eb4a04f090f062ba 100644 (file)
@@ -342,6 +342,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_PCI_BUS:
    case PIPE_CAP_PCI_DEVICE:
    case PIPE_CAP_PCI_FUNCTION:
+   case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
       return 0;
    }