[Mesa-dev] [PATCH 17/22] nir: Add flag to detect platforms with native float64 support

Juan A. Suarez Romero jasuarez at igalia.com
Fri Nov 25 08:52:47 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 3e6d168..1679d89 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1777,6 +1777,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.7.4



More information about the mesa-dev mailing list