commit | f6c0504abc486536175ce879042df7110861152e | [log] [tgz] |
---|---|---|
author | Timothy Arceri <tarceri@itsqueeze.com> | Wed Nov 01 14:15:22 2017 +1100 |
committer | Timothy Arceri <tarceri@itsqueeze.com> | Wed Nov 08 17:33:14 2017 +1100 |
tree | 945a7cec9f3211dea2a4e32dcef20bdd0ed9a4fc | |
parent | 7f33e94e43a647d71a9f930cf3180e5abb529edd [diff] |
st/glsl_to_nir: delay adding built-in uniforms to Parameters list Delaying adding built-in uniforms until after we convert to NIR gives us a better chance to optimise them away. Also NIR allows us to iterate over the uniforms directly so should be faster. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>