summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-06-17 08:52:34 -0700
committerTom Stellard <thomas.stellard@amd.com>2014-07-02 15:31:52 -0400
commitfea996c2aaf47707bd3f89ef493ae5760b4fe608 (patch)
treed14b8b72cf97d52918b57cfdc1fc5aaf05653c72 /src/gallium/auxiliary/tgsi/tgsi_exec.h
parent2ab44f657e3c8800aa610d39a04e88d6bf3bad01 (diff)
downloadexternal_mesa3d-fea996c2aaf47707bd3f89ef493ae5760b4fe608.zip
external_mesa3d-fea996c2aaf47707bd3f89ef493ae5760b4fe608.tar.gz
external_mesa3d-fea996c2aaf47707bd3f89ef493ae5760b4fe608.tar.bz2
gallium: Add PIPE_SHADER_CAP_DOUBLES
This is for reporting whether or not double precision floating-point operations are supported. Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h2
1 files changed, 2 insertions, 0 deletions
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.)