swr: return true for PIPE_CAP_DOUBLES
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 11 Apr 2017 16:50:23 +0000 (11:50 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 11 Apr 2017 18:16:43 +0000 (13:16 -0500)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/swr/swr_screen.cpp

index d737ddfb3abe46f0176f596222fa4fa90a13ec3c..3d3d1034150687c1a4ce10e526da748957d1936c 100644 (file)
@@ -248,6 +248,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR:
    case PIPE_CAP_CULL_DISTANCE:
    case PIPE_CAP_CUBE_MAP_ARRAY:
+   case PIPE_CAP_DOUBLES:
       return 1;
 
       /* unsupported features */