glsl: Exclude ir_var_hidden variables from the program resource list.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Apr 2016 04:00:32 +0000 (21:00 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Apr 2016 04:56:43 +0000 (21:56 -0700)
commit33df1c293504597c195cb2dca6b0b84e462388cf
tree9c035f4ff07e4a7cc8ac3cd0163134d023350ac0
parent15cd3ebede62a0c73bfa1513a0c9ab942906cd5a
glsl: Exclude ir_var_hidden variables from the program resource list.

We occasionally generate variables internally that we want to exclude
from the program resource list, as applications won't be expecting them
to be present.

The next patch will make use of this.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/linker.cpp