diff options
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r-- | src/compiler/shader_info.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index f0dfecc6aec..7ea5d9cce1f 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -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; |