i965: delay adding built-in uniforms to Parameters list
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 6 Dec 2016 06:34:02 +0000 (17:34 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 9 Dec 2016 05:29:10 +0000 (16:29 +1100)
commit8977cd4fddc571211b3a762510048de072c8c8ae
tree62a4a819fb392a3e8760c79cad71382a25b1b8b0
parent429e2ec324674ba8c3412b331da56d9a8808cd38
i965: delay adding built-in uniforms to Parameters list

This is a step towards using NIR optimisations over GLSL IR
optimisations. Delaying adding built-in uniforms until after
we convert to NIR gives it a chance to optimise them away.

V2: move the new code back to brw_link_shader()

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_link.cpp