glsl/nir: Call nir_lower_constant_initializers
[mesa.git] / src / compiler / shader_info.h
index 182a0369ef66382e7d6089e439bfb3df983b228c..7ea5d9cce1f249f9f86204ad5f8c917ee88a3884 100644 (file)
@@ -67,8 +67,11 @@ typedef struct shader_info {
    /* Whether or not this shader ever uses textureGather() */
    bool uses_texture_gather;
 
-   /* Whether or not this shader uses the gl_ClipDistance output */
-   bool uses_clip_distance_out;
+   /* The size of the gl_ClipDistance[] array, if declared. */
+   unsigned clip_distance_array_size;
+
+   /* The size of the gl_CullDistance[] array, if declared. */
+   unsigned cull_distance_array_size;
 
    /* Whether or not separate shader objects were used */
    bool separate_shader;
@@ -141,13 +144,6 @@ typedef struct shader_info {
    };
 } shader_info;
 
-struct gl_shader_program;
-struct gl_linked_shader;
-
-void
-copy_shader_info(const struct gl_shader_program *shader_prog,
-                 struct gl_linked_shader *sh);
-
 #ifdef __cplusplus
 }
 #endif