glsl: make use of active_shader_mask when building resource list
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 3 Dec 2019 13:24:35 +0000 (00:24 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 5 Dec 2019 02:18:30 +0000 (13:18 +1100)
commit1b1b436fa7cf92cce23018ea923597c4d7290d57
treee628682c272d14304e506c975476657bb45cbd90
parentf0cb0fe1c0804ce87bb66d0ad4c9d31e36ef985f
glsl: make use of active_shader_mask when building resource list

This allows us to avoid walking the entire IR looking for used
uniforms.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/linker.cpp