diff options
author | Kenneth Graunke <[email protected]> | 2016-10-03 22:18:09 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-11-19 12:30:25 -0800 |
commit | c447ca64c13f386474e518e0e8dd523ee24507fe (patch) | |
tree | 649321172760704dce72a18668759850512b4524 /src/mesa | |
parent | c4be6e0b8d91746eccf334b9e20861af4036d06a (diff) |
compiler: Store the clip/cull distance array sizes in shader_info.
We switched from a boolean to array lengths in gl_program a while back.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/program/prog_to_nir.c | 3 |
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: |