summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_to_nir.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-20 16:30:56 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit4016f08854a41b50d7636fc5e3cf0dfab5029cab (patch)
tree6ba4f8a0e77c142253615fcea4c0bc29023bdb52 /src/mesa/program/prog_to_nir.c
parent2f59f3eee591600aa8b3a0b0a30aea321185bcb5 (diff)
glsl/st/mesa: use common system values read field
And set system values read directly in shader_info. st/mesa changes where: Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_to_nir.c')
-rw-r--r--src/mesa/program/prog_to_nir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c
index 3c62456106c..08df05dc776 100644
--- a/src/mesa/program/prog_to_nir.c
+++ b/src/mesa/program/prog_to_nir.c
@@ -1051,7 +1051,6 @@ prog_to_nir(const struct gl_program *prog,
s->info->num_abos = 0;
s->info->num_ssbos = 0;
s->info->num_images = 0;
- s->info->system_values_read = prog->SystemValuesRead;
s->info->uses_texture_gather = false;
s->info->uses_clip_distance_out = false;
s->info->separate_shader = false;