*
*/
-#pragma once
+#ifndef NIR_TYPES_H
+#define NIR_TYPES_H
#include <stdio.h>
#include <stdbool.h>
return 32;
case GLSL_TYPE_DOUBLE:
+ case GLSL_TYPE_INT64:
+ case GLSL_TYPE_UINT64:
return 64;
default:
const struct glsl_type *glsl_vec4_type(void);
const struct glsl_type *glsl_int_type(void);
const struct glsl_type *glsl_uint_type(void);
+const struct glsl_type *glsl_int64_t_type(void);
+const struct glsl_type *glsl_uint64_t_type(void);
const struct glsl_type *glsl_bool_type(void);
const struct glsl_type *glsl_scalar_type(enum glsl_base_type base_type);
#ifdef __cplusplus
}
#endif
+
+#endif /* NIR_TYPES_H */