softpipe/tgsi: expose doubles for softpipe.
authorDave Airlie <airlied@gmail.com>
Thu, 14 Aug 2014 08:40:41 +0000 (18:40 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Feb 2015 22:52:11 +0000 (08:52 +1000)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.h

index cc5a9160c5c8548e298725d01f60a314512ca575..256cf725dbc27595c3bd16b5fb85eec805db11a3 100644 (file)
@@ -456,7 +456,7 @@ tgsi_exec_get_shader_param(enum pipe_shader_cap param)
    case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED:
       return 1;
    case PIPE_SHADER_CAP_DOUBLES:
-      return 0;
+      return 1;
    }
    /* if we get here, we missed a shader cap above (and should have seen
     * a compiler warning.)