[Mesa-dev] [PATCH v2 20/25] nir: Add flag to detect platforms with native float64 support

Juan A. Suarez Romero jasuarez at igalia.com
Fri Dec 16 14:49:06 UTC 2016


From: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
 src/compiler/nir/nir.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 9f3abb7..c369db3 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1758,6 +1758,11 @@ typedef struct nir_shader_compiler_options {
     */
    bool native_integers;
 
+   /**
+    * Does the driver support 64-bit floats?
+    */
+   bool native_float64;
+
    /* Indicates that the driver only has zero-based vertex id */
    bool vertex_id_zero_based;
 
-- 
2.9.3



More information about the mesa-dev mailing list