These are needed for ARB_bindless_texture support.
---
 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 4397c2406f..e2dfd1ef5b 100644
--- a/src/compiler/nir_types.h
+++ b/src/compiler/nir_types.h
@@ -102,6 +102,8 @@ glsl_get_bit_size(const struct glsl_type *type)
    case GLSL_TYPE_DOUBLE:
    case GLSL_TYPE_INT64:
    case GLSL_TYPE_UINT64:
+   case GLSL_TYPE_IMAGE:
+   case GLSL_TYPE_SAMPLER:
       return 64;
 
    default:
-- 
2.14.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to