From fea996c2aaf47707bd3f89ef493ae5760b4fe608 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 17 Jun 2014 08:52:34 -0700 Subject: gallium: Add PIPE_SHADER_CAP_DOUBLES This is for reporting whether or not double precision floating-point operations are supported. Reviewed-by: Francisco Jerez --- src/gallium/auxiliary/tgsi/tgsi_exec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h') diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index d53c4ba..56a7034 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h @@ -456,6 +456,8 @@ tgsi_exec_get_shader_param(enum pipe_shader_cap param) return PIPE_SHADER_IR_TGSI; case PIPE_SHADER_CAP_TGSI_SQRT_SUPPORTED: return 1; + case PIPE_SHADER_CAP_DOUBLES: + return 0; } /* if we get here, we missed a shader cap above (and should have seen * a compiler warning.) -- cgit v1.1