summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/program/prog_to_nir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c
index f4eb8b67bbb..2707a075b5d 100644
--- a/src/mesa/program/prog_to_nir.c
+++ b/src/mesa/program/prog_to_nir.c
@@ -1054,7 +1054,8 @@ prog_to_nir(const struct gl_program *prog,
s->info->num_ssbos = 0;
s->info->num_images = 0;
s->info->uses_texture_gather = false;
- s->info->uses_clip_distance_out = false;
+ s->info->clip_distance_array_size = 0;
+ s->info->cull_distance_array_size = 0;
s->info->separate_shader = false;
fail: