[Mesa-dev] [PATCH 44/59] nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size

Ian Romanick idr at freedesktop.org
Wed Oct 26 00:59:50 UTC 2016


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

Signed-off-by: Ian Romanick <ian.d.romanick at intel.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 854d64f..10f6e5d 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.5.5



More information about the mesa-dev mailing list