nir/spirv: Array lengths are constants not literals
[mesa.git] / src / glsl / builtin_types.cpp
index 0aedbb3546ab844f46b5915fd3890ed9a1fed16a..bbdcd199e9204b0c62676251959221845982fe1a 100644 (file)
@@ -43,9 +43,7 @@
  * convenience pointers (glsl_type::foo_type).
  * @{
  */
-#define DECL_TYPE(NAME, ...)                                    \
-   const glsl_type glsl_type::_##NAME##_type = glsl_type(__VA_ARGS__, #NAME); \
-   const glsl_type *const glsl_type::NAME##_type = &glsl_type::_##NAME##_type;
+#define DECL_TYPE(NAME, ...)
 
 #define STRUCT_TYPE(NAME)                                       \
    const glsl_type glsl_type::_struct_##NAME##_type =           \