Mesa (master): softpipe/tgsi: expose doubles for softpipe.

Dave Airlie airlied at kemper.freedesktop.org
Thu Feb 19 22:53:48 UTC 2015


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

Author: Dave Airlie <airlied at gmail.com>
Date:   Thu Aug 14 18:40:41 2014 +1000

softpipe/tgsi: expose doubles for softpipe.

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/auxiliary/tgsi/tgsi_exec.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index cc5a916..256cf72 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -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.)




More information about the mesa-commit mailing list