Mesa (master): swr: return true for PIPE_CAP_DOUBLES

Tim Rowley torowley at kemper.freedesktop.org
Tue Apr 11 18:20:49 UTC 2017


Module: Mesa
Branch: master
Commit: 9a7b257450fdcb8ae2c998caf24af040722a541a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a7b257450fdcb8ae2c998caf24af040722a541a

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Tue Apr 11 11:50:23 2017 -0500

swr: return true for PIPE_CAP_DOUBLES

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/swr/swr_screen.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index d737ddfb3a..3d3d103415 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -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 */




More information about the mesa-commit mailing list