From 0e82817247810d2aff29d8e3e9c633520924fd4a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 14 Aug 2014 18:40:41 +1000 Subject: [PATCH] softpipe/tgsi: expose doubles for softpipe. Reviewed-by: Ilia Mirkin Signed-off-by: Dave Airlie --- 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 cc5a9160c5c..256cf725dbc 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.)