[Mesa-dev] [PATCH 34/50] nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size

Ian Romanick idr at freedesktop.org
Tue Nov 29 03:25:49 UTC 2016


From: Ian Romanick <ian.d.romanick at intel.com>

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>
---
 src/compiler/nir_types.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compiler/nir_types.h b/src/compiler/nir_types.h
index 9088a06..cafb8c1 100644
--- a/src/compiler/nir_types.h
+++ b/src/compiler/nir_types.h
@@ -92,6 +92,8 @@ glsl_get_bit_size(const struct glsl_type *type)
       return 32;
 
    case GLSL_TYPE_DOUBLE:
+   case GLSL_TYPE_INT64:
+   case GLSL_TYPE_UINT64:
       return 64;
 
    default:
-- 
2.7.4



More information about the mesa-dev mailing list